use print statement instead of ‘_buf << …’
this is only for Eruby.
# File lib/erubis/enhancer.rb, line 102 def add_expr_escaped(src, code) src << " print #{escaped_expr(code)};" end
# File lib/erubis/enhancer.rb, line 98 def add_expr_literal(src, code) src << " print((#{code}).to_s);" end
# File lib/erubis/enhancer.rb, line 106 def add_postamble(src) src << "\n" unless src[-1] == \n\ end
Generated with the Darkfish Rdoc Generator 2.