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) {|@builder| ... } ⇒ Object
-
#initialize(builder) ⇒ Init
constructor
A new instance of Init.
Methods inherited from CommandBase
Constructor Details
#initialize(builder) ⇒ Init
123 124 125 126 |
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 123 def initialize(builder) super builder @builder.append ' init' end |
Instance Method Details
#gemspec(file) {|@builder| ... } ⇒ Object
127 128 129 130 131 |
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 127 def gemspec(file) @builder.append " --gemspec=#{@builder.format file}" yield @builder if block_given? self end |