Class: JBundle::Builder
- Inherits:
-
Object
- Object
- JBundle::Builder
- Defined in:
- lib/jbundle/builder.rb
Instance Method Summary collapse
- #build! ⇒ Object
- #build_one(f) ⇒ Object
-
#initialize(config) ⇒ Builder
constructor
A new instance of Builder.
Constructor Details
#initialize(config) ⇒ Builder
Returns a new instance of Builder.
92 93 94 95 |
# File 'lib/jbundle/builder.rb', line 92 def initialize(config) @config = config @sources = [] end |
Instance Method Details
#build! ⇒ Object
97 98 99 100 101 |
# File 'lib/jbundle/builder.rb', line 97 def build! @sources = @config.bundles_and_files.map do |b| build_one b end end |