instiki/vendor/plugins/erubis/test/data/users-guide/example4.result
2010-07-04 08:51:53 -05:00

10 lines
218 B
Text

$ ruby example4.rb
---------- script source ---
_buf = ''; for item in list
_buf << ' <p>'; _buf << ( item ).to_s; _buf << '</p>
'; end
_buf.to_s
---------- result ----------
<p>aaa</p>
<p>bbb</p>
<p>ccc</p>