Module: ActionView::Helpers::TextHelper
- Defined in:
- lib/haml/helpers/action_view_mods.rb
Instance Method Summary collapse
- #concat_with_haml(string, binding = nil) ⇒ Object (also: #concat)
Instance Method Details
#concat_with_haml(string, binding = nil) ⇒ Object Also known as: concat
72 73 74 75 76 77 78 |
# File 'lib/haml/helpers/action_view_mods.rb', line 72
def concat_with_haml(string, binding = nil)
if is_haml?
haml_buffer.buffer.concat(string)
else
concat_without_haml(string, binding)
end
end
|