Module: Sinatra::Templates

Defined in:
lib/jsonit.rb

Instance Method Summary collapse

Instance Method Details

#jsonit(template, options = {}, locals = {}) ⇒ Object



9
10
11
# File 'lib/jsonit.rb', line 9

def jsonit(template, options={}, locals={})
  render :jsonit, template, options, locals
end