Class: PerformanceTester::Scenario

Inherits:
Object
  • Object
show all
Defined in:
lib/performance_tester/scenario.rb

Overview

Describes a sequence of browser actions

Instance Method Summary collapse

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_procObject



10
11
12
# File 'lib/performance_tester/scenario.rb', line 10

def to_proc
  @block
end