Class: Hulk::JsBundle
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
9 10 11 |
# File 'lib/hulk/js_bundle.rb', line 9 def ext :js end |
#generate_compiled(source) ⇒ Object
13 14 15 |
# File 'lib/hulk/js_bundle.rb', line 13 def generate_compiled(source) self.class.compressor.compile(source) end |