Class: Hulk::CssBundle

Inherits:
Bundle
  • Object
show all
Defined in:
lib/hulk/css_bundle.rb

Instance Attribute Summary

Attributes inherited from Bundle

#name

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

#extObject



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