Class: Haml::Buffer

Inherits:
Object
  • Object
show all
Defined in:
lib/rest-ftp-daemon/patch_haml.rb

Instance Method Summary collapse

Instance Method Details

#haml_push_textObject



3
# File 'lib/rest-ftp-daemon/patch_haml.rb', line 3

alias_method :haml_push_text, :push_text

#push_text(text, tab_change, dont_tab_up) ⇒ Object



5
6
7
# File 'lib/rest-ftp-daemon/patch_haml.rb', line 5

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