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(builder) ⇒ Cache
constructor
A new instance of Cache.
- #no_prune {|@builder| ... } ⇒ Object
Methods inherited from CommandBase
Constructor Details
#initialize(builder) ⇒ Cache
Returns a new instance of Cache.
74 75 76 77 |
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 74 def initialize(builder) super builder @builder.append ' cache' end |
Instance Method Details
#no_prune {|@builder| ... } ⇒ Object
78 79 80 81 82 |
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 78 def no_prune @builder.append ' --no-prune' yield @builder if block_given? self end |