Class: Opulent::Filters::Css
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
162 163 164 |
# File 'lib/opulent/filters.rb', line 162 def gem_name nil end |
#render(code, options = {}) ⇒ Object
154 155 156 157 158 159 160 |
# File 'lib/opulent/filters.rb', line 154 def render(code, = {}) if [:cdata] "<![CDATA[\n" + code + ']]>' else code end end |