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 {|@builder| ... } ⇒ Object
-
#initialize(builder, gem) ⇒ Gem
constructor
A new instance of Gem.
Methods inherited from CommandBase
Constructor Details
#initialize(builder, gem) ⇒ Gem
Returns a new instance of Gem.
112 113 114 115 |
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 112 def initialize(builder, gem) super builder @builder.append " gem #{@builder.format gem}" end |
Instance Method Details
#bin {|@builder| ... } ⇒ Object
116 117 118 119 120 |
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 116 def bin @builder.append ' --bin' yield @builder if block_given? self end |