Class: Opulent::Filters::Scss
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
123 124 125 |
# File 'lib/opulent/filters.rb', line 123 def gem_name 'sass' end |
#render(code, options = {}) ⇒ Object
117 118 119 120 121 |
# File 'lib/opulent/filters.rb', line 117 def render(code, = {}) [:style] ||= :expanded ::Sass.compile code, end |