12 lines
186 B
Text
12 lines
186 B
Text
|
$ erubis -xE HeaderFooter headerfooter-example.eruby
|
||
|
|
||
|
def list_items(items)
|
||
|
|
||
|
_buf = ''; for item in items
|
||
|
_buf << ' <b>'; _buf << ( item ).to_s; _buf << '</b>
|
||
|
'; end
|
||
|
_buf.to_s
|
||
|
|
||
|
end
|
||
|
|