Class: Padrino::Rendering::SlimTemplate

Inherits:
Slim::Template
  • Object
show all
Includes:
SafeTemplate
Defined in:
padrino-helpers/lib/padrino/rendering/slim_template.rb

Instance Method Summary collapse

Methods included from SafeTemplate

#render

Instance Method Details

#precompiled_preamble(locals) ⇒ Object


22
23
24
# File 'padrino-helpers/lib/padrino/rendering/slim_template.rb', line 22

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