module Haml::Flatrack::ViewAdditions::RenderHelper

Public Instance Methods

output_buffer_with_haml() click to toggle source
# File lib/haml/flatrack/view_additions/render_helper.rb, line 9
def output_buffer_with_haml
  return haml_buffer.buffer if is_haml?
  output_buffer_without_haml
end
output_buffer_with_haml=(new_buffer) click to toggle source
# File lib/haml/flatrack/view_additions/render_helper.rb, line 16
def output_buffer_with_haml=(new_buffer)
  if is_haml?
    haml_buffer.buffer = new_buffer
  else
    self.output_buffer_without_haml= new_buffer
  end
end