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.
146 147 148 149 |
# File 'lib/fluent_command_builder/command_builders/bundle_12.rb', line 146 def initialize() super @b.append ' init' end |
Instance Method Details
#gemspec(file) {|@b| ... } ⇒ Object
150 151 152 153 154 |
# File 'lib/fluent_command_builder/command_builders/bundle_12.rb', line 150 def gemspec(file) @b.append " --gemspec=#{@b.format file}" yield @b if block_given? self end |