Class: FluentCommandBuilder::SevenZip::V920::Bench
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::SevenZip::V920::Bench
show all
- Defined in:
- lib/fluent_command_builder/command_builders/sevenzip_920.rb
Instance Method Summary
collapse
Methods inherited from CommandBase
#configure!, #execute!, #to_s
Constructor Details
#initialize(underlying_builder, number_of_iterations) ⇒ Bench
Returns a new instance of Bench.
133
134
135
136
|
# File 'lib/fluent_command_builder/command_builders/sevenzip_920.rb', line 133
def initialize(underlying_builder, number_of_iterations)
super underlying_builder
@b.append " b #{@b.format number_of_iterations}"
end
|
Instance Method Details
#md(n) {|@b| ... } ⇒ Object
142
143
144
145
146
|
# File 'lib/fluent_command_builder/command_builders/sevenzip_920.rb', line 142
def md(n)
@b.append " -md#{@b.format n}"
yield @b if block_given?
self
end
|
#mm(method) {|@b| ... } ⇒ Object
147
148
149
150
151
|
# File 'lib/fluent_command_builder/command_builders/sevenzip_920.rb', line 147
def mm(method)
@b.append " -mm=#{@b.format method}"
yield @b if block_given?
self
end
|
#mmt(n) {|@b| ... } ⇒ Object
137
138
139
140
141
|
# File 'lib/fluent_command_builder/command_builders/sevenzip_920.rb', line 137
def mmt(n)
@b.append " -mmt#{@b.format n}"
yield @b if block_given?
self
end
|