Method: Erubis::StringIOEnhancer#add_postamble
- Defined in:
- lib/erubis/enhancer.rb
#add_postamble(src) ⇒ Object
238 239 240 241 |
# File 'lib/erubis/enhancer.rb', line 238 def add_postamble(src) src << "\n" unless src[-1] == ?\n src << "_buf.string\n" end |