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
16
vendor/plugins/erubis/test/data/users-guide/notext_example.result
vendored
Normal file
16
vendor/plugins/erubis/test/data/users-guide/notext_example.result
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
$ erubis -xE NoText notext-example.eruby
|
||||
_buf = '';
|
||||
if !@list || @list.empty?
|
||||
|
||||
else
|
||||
|
||||
|
||||
@list.each_with_index do |item, i|
|
||||
_buf << ( i%2 == 0 ? '#FFCCCC' : '#CCCCFF' ).to_s;
|
||||
_buf << ( item ).to_s;
|
||||
|
||||
end
|
||||
|
||||
|
||||
end
|
||||
_buf.to_s
|
Loading…
Add table
Add a link
Reference in a new issue