Module: Sinatra::StyleFilter
- Includes:
- Haml::Filters::Base
- Defined in:
- lib/sinatra/fancyviews.rb
Instance Method Summary collapse
Instance Method Details
#compile(precompiler, text) ⇒ Object
10 11 12 |
# File 'lib/sinatra/fancyviews.rb', line 10 def compile(precompiler, text) precompiler.send :push_silent, %(fancyviews.include_style(fancyviews.view_name, #{text.inspect})) end |