Module: Sinatra::Templates
- Defined in:
- lib/sinatra/css.rb
Instance Method Summary collapse
-
#rcss(template, options = {}, locals = {}) ⇒ Object
add support for .rcss.
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, ={}, locals={}) [:outvar] = '@_out_buf' [:layout] = false render :rcss, template, , locals end |