Class: FluentCommandBuilder::Bundle::V11::Viz
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::Bundle::V11::Viz
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) ⇒ Viz
Returns a new instance of Viz.
293
294
295
296
|
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 293
def initialize(underlying_builder)
super underlying_builder
@b.append ' viz'
end
|
Instance Method Details
#file(file) {|@b| ... } ⇒ Object
297
298
299
300
301
|
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 297
def file(file)
@b.append " --file=#{@b.format file}"
yield @b if block_given?
self
end
|
302
303
304
305
306
|
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 302
def format(format)
@b.append " --format=#{@b.format format}"
yield @b if block_given?
self
end
|
#requirements {|@b| ... } ⇒ Object
307
308
309
310
311
|
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 307
def requirements
@b.append ' --requirements'
yield @b if block_given?
self
end
|
#version {|@b| ... } ⇒ Object
312
313
314
315
316
|
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 312
def version
@b.append ' --version'
yield @b if block_given?
self
end
|