Class: ActionView::Template::Handlers::Erubis
- Defined in:
- lib/amelia/action_view/template/handlers/erb.rb
Instance Method Summary collapse
Instance Method Details
#add_preamble(src) ⇒ Object
7 8 9 10 |
# File 'lib/amelia/action_view/template/handlers/erb.rb', line 7 def add_preamble(src) @newline_pending = 0 src << "@output_buffer = output_buffer || ActionView::OutputBuffer.new;@output_buffer.virtual_path = @virtual_path;" end |