Module: Erubis::OutputBufferEnhancer
Class Method Summary collapse
-
.desc ⇒ Object
:nodoc:.
Instance Method Summary collapse
Class Method Details
.desc ⇒ Object
:nodoc:
95 96 97 |
# File 'lib/erubis_rails_helper/template_handlers/erubis.rb', line 95 def self.desc # :nodoc: "set '@output_buffer = _buf = \"\";'" end |
Instance Method Details
#add_postamble(src) ⇒ Object
103 104 105 106 |
# File 'lib/erubis_rails_helper/template_handlers/erubis.rb', line 103 def add_postamble(src) src << "\n" unless src[-1] == ?\n src << "@output_buffer.to_s\n" end |
#add_preamble(src) ⇒ Object
99 100 101 |
# File 'lib/erubis_rails_helper/template_handlers/erubis.rb', line 99 def add_preamble(src) src << "@output_buffer = _buf = '';" end |