Module: Sinatra::Templates

Defined in:
lib/ruhl/sinatra.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) ruhl(template, options = {}, locals = {})



5
6
7
8
9
# File 'lib/ruhl/sinatra.rb', line 5

def ruhl(template, options = {}, locals = {})
  require_warn('Ruhl') unless defined?(::Ruhl::Engine)

  render :ruhl, template, options, locals
end