File: test.tpl

package info (click to toggle)
ruby-rgen 0.10.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,428 kB
  • sloc: ruby: 11,344; xml: 1,368; yacc: 72; makefile: 10
file content (7 lines) | stat: -rw-r--r-- 194 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
<% define 'Test', :for => Object do %>
	<%= [1,2,3,4].collect{|n| evaluate 'Eval', :for => n}.join %>
<% end %>

<% define 'Eval', :for => Object do %>
	xx<%= this %>xx<%nows%>
<% end %>