Method: Easybench::Suite#initialize
- Defined in:
- lib/easybench.rb
#initialize(iterations, &tests) ⇒ Suite
Returns a new instance of Suite.
48 49 50 51 52 |
# File 'lib/easybench.rb', line 48 def initialize(iterations, &tests) @iterations = iterations @tests = tests @benchmarks = [] end |