Class: Benny::DSL::Definition::WarmupOptions

Inherits:
Object
  • Object
show all
Defined in:
lib/benny/dsl.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(iterations:) ⇒ WarmupOptions

Returns a new instance of WarmupOptions.



9
10
11
# File 'lib/benny/dsl.rb', line 9

def initialize(iterations:)
  @iterations = iterations
end

Instance Attribute Details

#iterationsObject (readonly)

Returns the value of attribute iterations.



7
8
9
# File 'lib/benny/dsl.rb', line 7

def iterations
  @iterations
end