Class: Hamlit::Filters::Css
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#compile_lines, indent_source, #initialize
Constructor Details
This class inherits a constructor from Hamlit::Filters::Base
Instance Method Details
#compile(lines) ⇒ Object
6 7 8 9 10 |
# File 'lib/hamlit/filters/css.rb', line 6 def compile(lines) return compile_xhtml(lines) if [:format] == :xhtml compile_html(lines) end |