Class: FluentCommandBuilder::Bundle::V12::Gem
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::Bundle::V12::Gem
- Defined in:
- lib/fluent_command_builder/command_builders/bundle_12.rb
Instance Method Summary collapse
- #bin {|@b| ... } ⇒ Object
-
#initialize(underlying_builder, gem) ⇒ Gem
constructor
A new instance of Gem.
Methods inherited from CommandBase
Constructor Details
#initialize(underlying_builder, gem) ⇒ Gem
Returns a new instance of Gem.
135 136 137 138 |
# File 'lib/fluent_command_builder/command_builders/bundle_12.rb', line 135 def initialize(, gem) super @b.append " gem #{@b.format gem}" end |
Instance Method Details
#bin {|@b| ... } ⇒ Object
139 140 141 142 143 |
# File 'lib/fluent_command_builder/command_builders/bundle_12.rb', line 139 def bin @b.append ' --bin' yield @b if block_given? self end |