Class: Haml::Buffer

Inherits:
Object
  • Object
show all
Defined in:
lib/shared/patch_haml.rb

Instance Method Summary collapse

Instance Method Details

#haml_push_textObject



3
# File 'lib/shared/patch_haml.rb', line 3

alias_method :haml_push_text, :push_text

#push_text(text, tab_change, dont_tab_up) ⇒ Object



4
5
6
# File 'lib/shared/patch_haml.rb', line 4

def push_text text, tab_change, dont_tab_up
  haml_push_text text.force_encoding("utf-8"), tab_change, dont_tab_up
end