Class: FluentCommandBuilder::Bundle::V11::Gem
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::Bundle::V11::Gem
- Defined in:
- lib/fluent_command_builder/command_builders/bundle_11.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.
127 128 129 130 |
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 127 def initialize(, gem) super @b.append " gem #{@b.format gem}" end |
Instance Method Details
#bin {|@b| ... } ⇒ Object
131 132 133 134 135 |
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 131 def bin @b.append ' --bin' yield @b if block_given? self end |