Module: Sinatra::Haml

Defined in:
lib/sinatra/renderer/haml.rb

Defined Under Namespace

Classes: Renderer

Instance Method Summary collapse

Instance Method Details

#haml(template, options = {}) ⇒ Object



3
4
5
# File 'lib/sinatra/renderer/haml.rb', line 3

def haml(template, options = {})
  Renderer.new.render(template, options)
end