Module: Sinatra::Templates

Defined in:
lib/sinatra/css.rb

Instance Method Summary collapse

Instance Method Details

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

add support for .rcss



20
21
22
23
24
# File 'lib/sinatra/css.rb', line 20

def rcss(template, options={}, locals={})
  options[:outvar] = '@_out_buf'
  options[:layout] = false
  render :rcss, template, options, locals
end