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