Class: Bench::Options
- Inherits:
-
Object
- Object
- Bench::Options
- Defined in:
- lib/bench9000/options.rb
Instance Attribute Summary collapse
-
#benchmarks ⇒ Object
readonly
Returns the value of attribute benchmarks.
-
#config ⇒ Object
readonly
Returns the value of attribute config.
-
#flags ⇒ Object
readonly
Returns the value of attribute flags.
-
#implementations ⇒ Object
readonly
Returns the value of attribute implementations.
Instance Method Summary collapse
-
#initialize(config, implementations, benchmarks, flags) ⇒ Options
constructor
A new instance of Options.
Constructor Details
#initialize(config, implementations, benchmarks, flags) ⇒ Options
Returns a new instance of Options.
18 19 20 21 22 23 24 25 26 27 |
# File 'lib/bench9000/options.rb', line 18 def initialize( config, implementations, benchmarks, flags) @config = config @implementations = implementations @benchmarks = benchmarks @flags = flags end |
Instance Attribute Details
#benchmarks ⇒ Object (readonly)
Returns the value of attribute benchmarks.
15 16 17 |
# File 'lib/bench9000/options.rb', line 15 def benchmarks @benchmarks end |
#config ⇒ Object (readonly)
Returns the value of attribute config.
13 14 15 |
# File 'lib/bench9000/options.rb', line 13 def config @config end |
#flags ⇒ Object (readonly)
Returns the value of attribute flags.
16 17 18 |
# File 'lib/bench9000/options.rb', line 16 def flags @flags end |
#implementations ⇒ Object (readonly)
Returns the value of attribute implementations.
14 15 16 |
# File 'lib/bench9000/options.rb', line 14 def implementations @implementations end |