Class: FluentCommandBuilder::Bundle::V12::Viz
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::Bundle::V12::Viz
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) ⇒ Viz
Returns a new instance of Viz.
316
317
318
319
|
# File 'lib/fluent_command_builder/command_builders/bundle_12.rb', line 316
def initialize(underlying_builder)
super underlying_builder
@b.append ' viz'
end
|
Instance Method Details
#file(file) {|@b| ... } ⇒ Object
320
321
322
323
324
|
# File 'lib/fluent_command_builder/command_builders/bundle_12.rb', line 320
def file(file)
@b.append " --file=#{@b.format file}"
yield @b if block_given?
self
end
|
325
326
327
328
329
|
# File 'lib/fluent_command_builder/command_builders/bundle_12.rb', line 325
def format(format)
@b.append " --format=#{@b.format format}"
yield @b if block_given?
self
end
|
#requirements {|@b| ... } ⇒ Object
330
331
332
333
334
|
# File 'lib/fluent_command_builder/command_builders/bundle_12.rb', line 330
def requirements
@b.append ' --requirements'
yield @b if block_given?
self
end
|
#version {|@b| ... } ⇒ Object
335
336
337
338
339
|
# File 'lib/fluent_command_builder/command_builders/bundle_12.rb', line 335
def version
@b.append ' --version'
yield @b if block_given?
self
end
|