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