Class: FluentCommandBuilder::Bundle::V11::Viz
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::Bundle::V11::Viz
- Defined in:
- lib/fluent_command_builder/command_builders/bundle_11.rb
Instance Method Summary collapse
- #file(file) {|@builder| ... } ⇒ Object
- #format(format) {|@builder| ... } ⇒ Object
-
#initialize(builder) ⇒ Viz
constructor
A new instance of Viz.
- #requirements {|@builder| ... } ⇒ Object
- #version {|@builder| ... } ⇒ Object
Methods inherited from CommandBase
Constructor Details
#initialize(builder) ⇒ Viz
Returns a new instance of Viz.
277 278 279 280 |
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 277 def initialize(builder) super builder @builder.append ' viz' end |
Instance Method Details
#file(file) {|@builder| ... } ⇒ Object
281 282 283 284 285 |
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 281 def file(file) @builder.append " --file=#{@builder.format file}" yield @builder if block_given? self end |
#format(format) {|@builder| ... } ⇒ Object
286 287 288 289 290 |
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 286 def format(format) @builder.append " --format=#{@builder.format format}" yield @builder if block_given? self end |
#requirements {|@builder| ... } ⇒ Object
291 292 293 294 295 |
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 291 def requirements @builder.append ' --requirements' yield @builder if block_given? self end |
#version {|@builder| ... } ⇒ Object
296 297 298 299 300 |
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 296 def version @builder.append ' --version' yield @builder if block_given? self end |