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



6
7
8
# File 'padrino-helpers/lib/padrino/rendering/slim_template.rb', line 6

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