Class: PerformanceTester::Scenario
- Inherits:
-
Object
- Object
- PerformanceTester::Scenario
- Defined in:
- lib/performance_tester/scenario.rb
Overview
Describes a sequence of browser actions
Instance Method Summary collapse
-
#initialize(&block) ⇒ Scenario
constructor
A new instance of Scenario.
- #to_proc ⇒ Object
Constructor Details
#initialize(&block) ⇒ Scenario
Returns a new instance of Scenario.
6 7 8 |
# File 'lib/performance_tester/scenario.rb', line 6 def initialize(&block) @block = block end |
Instance Method Details
#to_proc ⇒ Object
10 11 12 |
# File 'lib/performance_tester/scenario.rb', line 10 def to_proc @block end |