Class: FluentCommandBuilder::Bundle::V12::Outdated
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::Bundle::V12::Outdated
show all
- Defined in:
- lib/fluent_command_builder/command_builders/bundle_12.rb
Instance Method Summary
collapse
Methods inherited from CommandBase
#configure!, #execute!, #to_s
Constructor Details
#initialize(underlying_builder, gem = nil) ⇒ Outdated
Returns a new instance of Outdated.
239
240
241
242
243
|
# File 'lib/fluent_command_builder/command_builders/bundle_12.rb', line 239
def initialize(underlying_builder, gem=nil)
super underlying_builder
@b.append ' outdated'
@b.append " #{@b.format gem}" unless gem.nil?
end
|
Instance Method Details
#local {|@b| ... } ⇒ Object
244
245
246
247
248
|
# File 'lib/fluent_command_builder/command_builders/bundle_12.rb', line 244
def local
@b.append ' --local'
yield @b if block_given?
self
end
|
#pre {|@b| ... } ⇒ Object
249
250
251
252
253
|
# File 'lib/fluent_command_builder/command_builders/bundle_12.rb', line 249
def pre
@b.append ' --pre'
yield @b if block_given?
self
end
|
#source {|@b| ... } ⇒ Object
254
255
256
257
258
|
# File 'lib/fluent_command_builder/command_builders/bundle_12.rb', line 254
def source
@b.append ' --source'
yield @b if block_given?
self
end
|