Class: FluentCommandBuilder::Bundle::V11::Show
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::Bundle::V11::Show
- Defined in:
- lib/fluent_command_builder/command_builders/bundle_11.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.
263 264 265 266 267 |
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 263 def initialize(, gem=nil) super @b.append ' show' @b.append " #{@b.format gem}" unless gem.nil? end |
Instance Method Details
#paths {|@b| ... } ⇒ Object
268 269 270 271 272 |
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 268 def paths @b.append ' --paths' yield @b if block_given? self end |