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