use an Array object as buffer (included in Eruby by default)
this is only for Eruby.
# File lib/erubis/enhancer.rb, line 191 def add_postamble(src) src << "\n" unless src[-1] == \n\ src << "_buf.join\n" end
# File lib/erubis/enhancer.rb, line 187 def add_preamble(src) src << "_buf = [];" end
[Validate]
Generated with the Darkfish Rdoc Generator 2.