Class: Rack::Bundle::JSBundle
- Defined in:
- lib/rack/bundle/bundles/js.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#==, #extension, #hash, #initialize, #joiner, #mime_type, new_from_contents, #path
Constructor Details
This class inherits a constructor from Rack::Bundle::Base
Instance Method Details
#contents ⇒ Object
6 7 8 |
# File 'lib/rack/bundle/bundles/js.rb', line 6 def contents @contents ||= @files.map { |file| file.contents }.join(joiner) end |