Class: Opulent::Filters::Sass
Instance Attribute Summary
Attributes inherited from Filter
Instance Method Summary collapse
Methods inherited from Filter
#initialize, #install_error, #load_filter
Constructor Details
This class inherits a constructor from Opulent::Filters::Filter
Instance Method Details
#gem_name ⇒ Object
142 143 144 |
# File 'lib/opulent/filters.rb', line 142 def gem_name 'sass' end |
#render(code, options = {}) ⇒ Object
135 136 137 138 139 140 |
# File 'lib/opulent/filters.rb', line 135 def render(code, = {}) [:syntax] = :sass [:style] ||= :expanded ::Sass.compile code, end |