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/example1.result
vendored
Normal file
16
vendor/plugins/erubis/test/data/users-guide/example1.result
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
$ ruby example1.rb
|
||||
---------- script source ---
|
||||
_buf = ''; _buf << '<ul>
|
||||
'; for item in list
|
||||
_buf << ' <li>'; _buf << ( item ).to_s; _buf << '</li>
|
||||
'; end
|
||||
|
||||
_buf << '</ul>
|
||||
';
|
||||
_buf.to_s
|
||||
---------- result ----------
|
||||
<ul>
|
||||
<li>aaa</li>
|
||||
<li>bbb</li>
|
||||
<li>ccc</li>
|
||||
</ul>
|
Loading…
Add table
Add a link
Reference in a new issue