Class: FluentCommandBuilder::Bundle::V12::Cache
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::Bundle::V12::Cache
show all
- Defined in:
- lib/fluent_command_builder/command_builders/bundle_12.rb
Instance Method Summary
collapse
Methods inherited from CommandBase
#configure!, #execute!, #to_s
Constructor Details
#initialize(underlying_builder) ⇒ Cache
Returns a new instance of Cache.
92
93
94
95
|
# File 'lib/fluent_command_builder/command_builders/bundle_12.rb', line 92
def initialize(underlying_builder)
super underlying_builder
@b.append ' cache'
end
|
Instance Method Details
#all {|@b| ... } ⇒ Object
101
102
103
104
105
|
# File 'lib/fluent_command_builder/command_builders/bundle_12.rb', line 101
def all
@b.append ' --all'
yield @b if block_given?
self
end
|
#no_prune {|@b| ... } ⇒ Object
96
97
98
99
100
|
# File 'lib/fluent_command_builder/command_builders/bundle_12.rb', line 96
def no_prune
@b.append ' --no-prune'
yield @b if block_given?
self
end
|