Class: FluentCommandBuilder::Bundle::V12::Clean
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::Bundle::V12::Clean
- Defined in:
- lib/fluent_command_builder/command_builders/bundle_12.rb
Instance Method Summary collapse
- #force {|@b| ... } ⇒ Object
-
#initialize(underlying_builder) ⇒ Clean
constructor
A new instance of Clean.
Methods inherited from CommandBase
Constructor Details
#initialize(underlying_builder) ⇒ Clean
Returns a new instance of Clean.
125 126 127 128 |
# File 'lib/fluent_command_builder/command_builders/bundle_12.rb', line 125 def initialize() super @b.append ' clean' end |
Instance Method Details
#force {|@b| ... } ⇒ Object
129 130 131 132 133 |
# File 'lib/fluent_command_builder/command_builders/bundle_12.rb', line 129 def force @b.append ' --force' yield @b if block_given? self end |