Class: Padrino::Rendering::HamlitTemplate

Inherits:
Hamlit::Template
  • Object
show all
Includes:
SafeTemplate
Defined in:
lib/padrino/rendering/hamlit_template.rb

Instance Method Summary collapse

Methods included from SafeTemplate

#render

Instance Method Details

#precompiled_preamble(locals) ⇒ Object



22
23
24
# File 'lib/padrino/rendering/hamlit_template.rb', line 22

def precompiled_preamble(locals)
  "__in_hamlit_template = true\n" << super
end