Class: FluentCommandBuilder::Bundle::V11::Init
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::Bundle::V11::Init
- Defined in:
- lib/fluent_command_builder/command_builders/bundle_11.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.
138 139 140 141 |
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 138 def initialize() super @b.append ' init' end |
Instance Method Details
#gemspec(file) {|@b| ... } ⇒ Object
142 143 144 145 146 |
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 142 def gemspec(file) @b.append " --gemspec=#{@b.format file}" yield @b if block_given? self end |