Class: FluentCommandBuilder::Bundle::V11::Cache
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::Bundle::V11::Cache
- Defined in:
- lib/fluent_command_builder/command_builders/bundle_11.rb
Instance Method Summary collapse
-
#initialize(underlying_builder) ⇒ Cache
constructor
A new instance of Cache.
- #no_prune {|@b| ... } ⇒ Object
Methods inherited from CommandBase
Constructor Details
#initialize(underlying_builder) ⇒ Cache
Returns a new instance of Cache.
89 90 91 92 |
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 89 def initialize() super @b.append ' cache' end |
Instance Method Details
#no_prune {|@b| ... } ⇒ Object
93 94 95 96 97 |
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 93 def no_prune @b.append ' --no-prune' yield @b if block_given? self end |