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(builder, gem = nil) ⇒ Show
constructor
A new instance of Show.
- #paths {|@builder| ... } ⇒ Object
Methods inherited from CommandBase
Constructor Details
#initialize(builder, gem = nil) ⇒ Show
248 249 250 251 252 |
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 248 def initialize(builder, gem=nil) super builder @builder.append ' show' @builder.append " #{@builder.format gem}" unless gem.nil? end |
Instance Method Details
#paths {|@builder| ... } ⇒ Object
253 254 255 256 257 |
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 253 def paths @builder.append ' --paths' yield @builder if block_given? self end |