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 (24 lines) | stat: -rw-r--r-- 546 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<% define 'Test', :for => Object do %>
	<%iinc%>
	xxx<% expand 'NoIndent1' %>
	xxx<% expand 'NoIndent2' %>
	xxx<% expand 'NoIndent3' %>
	xxx<% expand 'NoIndent4' %>
	<%idec%>
<% end %>

<% define 'NoIndent1', :for => Object do %>
	<---<%nows%>
<% end %>

<% define 'NoIndent2', :for => Object do %>
	<% expand 'NoIndent1' %>
<% end %>

<% define 'NoIndent3', :for => Object do %>
	<% expand 'no_indent::NoIndent' %>
<% end %>

<% define 'NoIndent4', :for => Object do %>
	<% expand 'sub1/no_indent::NoIndent' %>
<% end %>