Class: FluentCommandBuilder::Bundle::V11::Clean
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::Bundle::V11::Clean
- Defined in:
- lib/fluent_command_builder/command_builders/bundle_11.rb
Instance Method Summary collapse
- #force {|@builder| ... } ⇒ Object
-
#initialize(builder) ⇒ Clean
constructor
A new instance of Clean.
Methods inherited from CommandBase
Constructor Details
#initialize(builder) ⇒ Clean
Returns a new instance of Clean.
101 102 103 104 |
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 101 def initialize(builder) super builder @builder.append ' clean' end |
Instance Method Details
#force {|@builder| ... } ⇒ Object
105 106 107 108 109 |
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 105 def force @builder.append ' --force' yield @builder if block_given? self end |