use $stdout instead of string
this is only for Eruby.
[Source]
# File erubis/enhancer.rb, line 79 def add_postamble(src) src << "\n''\n" end
# File erubis/enhancer.rb, line 75 def add_preamble(src) src << "_buf = $stdout;" end
[Validate]