Module: ActionView::Helpers::TextHelper

Defined in:
lib/haml/helpers/action_view_mods.rb

Instance Method Summary collapse

Instance Method Details

#concat_with_haml(string, binding = nil) ⇒ Object Also known as: concat



76
77
78
79
80
81
82
# File 'lib/haml/helpers/action_view_mods.rb', line 76

def concat_with_haml(string, binding = nil)
  if is_haml?
    haml_buffer.buffer.concat(string)
  else
    concat_without_haml(string, binding)
  end
end