Class: FluentCommandBuilder::Bundle::V11::Show
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::Bundle::V11::Show
show all
- Defined in:
- lib/fluent_command_builder/command_builders/bundle_11.rb
Instance Method Summary
collapse
Methods inherited from CommandBase
#configure!, #execute!, #to_s
Constructor Details
#initialize(underlying_builder, gem = nil) ⇒ Show
263
264
265
266
267
|
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 263
def initialize(underlying_builder, gem=nil)
super underlying_builder
@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
|