Class: Sinatra::JstPages::HamlEngine
- Defined in:
- lib/sinatra/jstpages.rb
Instance Attribute Summary
Attributes inherited from Engine
Instance Method Summary collapse
Methods inherited from Engine
#contents, #initialize, #wrap_jst
Constructor Details
This class inherits a constructor from Sinatra::JstPages::Engine
Instance Method Details
#compile! ⇒ Object
221 222 223 224 225 |
# File 'lib/sinatra/jstpages.rb', line 221 def compile! wrap_jst(name) do "Haml(#{contents.inspect})"; end end |