Class: FluentCommandBuilder::Bundle::V12::Init
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::Bundle::V12::Init
- Defined in:
- lib/fluent_command_builder/command_builders/bundle_12.rb
Instance Method Summary collapse
- #gemspec(file) {|@b| ... } ⇒ Object
-
#initialize(underlying_builder) ⇒ Init
constructor
A new instance of Init.
Methods inherited from CommandBase
Constructor Details
#initialize(underlying_builder) ⇒ Init
Returns a new instance of Init.
147 148 149 150 |
# File 'lib/fluent_command_builder/command_builders/bundle_12.rb', line 147 def initialize() super @b.append ' init' end |
Instance Method Details
#gemspec(file) {|@b| ... } ⇒ Object
151 152 153 154 155 |
# File 'lib/fluent_command_builder/command_builders/bundle_12.rb', line 151 def gemspec(file) @b.append " --gemspec=#{@b.format file}" yield @b if block_given? self end |