class Haml::SafeErubisTemplate
Public Instance Methods
initialize_engine()
click to toggle source
# File lib/haml/helpers/safe_erubis_template.rb, line 13 def initialize_engine end
precompiled_postamble(locals)
click to toggle source
Calls superclass method
# File lib/haml/helpers/safe_erubis_template.rb, line 25 def precompiled_postamble(locals) [super, '@output_buffer.to_s'].join("\n") end
precompiled_preamble(locals)
click to toggle source
Calls superclass method
# File lib/haml/helpers/safe_erubis_template.rb, line 21 def precompiled_preamble(locals) [super, "@output_buffer = ActionView::OutputBuffer.new;"].join("\n") end
prepare()
click to toggle source
Calls superclass method
# File lib/haml/helpers/safe_erubis_template.rb, line 16 def prepare @options.merge! :engine_class => Haml::ErubisTemplateHandler super end