Class: FluentCommandBuilder::Bundle::V12::Show
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::Bundle::V12::Show
- Defined in:
- lib/fluent_command_builder/command_builders/bundle_12.rb
Instance Method Summary collapse
-
#initialize(underlying_builder, gem = nil) ⇒ Show
constructor
A new instance of Show.
- #paths {|@b| ... } ⇒ Object
Methods inherited from CommandBase
Constructor Details
#initialize(underlying_builder, gem = nil) ⇒ Show
Returns a new instance of Show.
287 288 289 290 291 |
# File 'lib/fluent_command_builder/command_builders/bundle_12.rb', line 287 def initialize(, gem=nil) super @b.append ' show' @b.append " #{@b.format gem}" unless gem.nil? end |
Instance Method Details
#paths {|@b| ... } ⇒ Object
292 293 294 295 296 |
# File 'lib/fluent_command_builder/command_builders/bundle_12.rb', line 292 def paths @b.append ' --paths' yield @b if block_given? self end |