Update Vendored Erubis to 2.6.6
This commit is contained in:
parent
c18c2f988d
commit
39c2138f88
300 changed files with 207 additions and 171 deletions
10
vendor/plugins/erubis/test/data/users-guide/example11_C.result
vendored
Normal file
10
vendor/plugins/erubis/test/data/users-guide/example11_C.result
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
$ erubis -XC example11.rhtml
|
||||
_buf = '';
|
||||
if @list.nil? || @list.empty?
|
||||
else
|
||||
@list.each_with_index do |item, i|
|
||||
_buf << ( i % 2 == 0 ? '#FCC' : '#CCF' ).to_s;
|
||||
_buf << ( item ).to_s;
|
||||
end
|
||||
end
|
||||
_buf.to_s
|
Loading…
Add table
Add a link
Reference in a new issue