Class: Hulk::CssBundle
Instance Attribute Summary
Attributes inherited from Bundle
Instance Method Summary collapse
Methods inherited from Bundle
#<<, #compile!, #compiled?, #digest, #filename, #initialize
Constructor Details
This class inherits a constructor from Hulk::Bundle
Instance Method Details
#ext ⇒ Object
10 11 12 |
# File 'lib/hulk/css_bundle.rb', line 10 def ext :css end |
#generate_compiled(source) ⇒ Object
14 15 16 |
# File 'lib/hulk/css_bundle.rb', line 14 def generate_compiled(source) self.class.compressor.compress(source) end |