Class: Scenario

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

Direct Known Subclasses

ScenarioA, ScenarioB, ScenarioC, ScenarioD, ScenarioE, ScenarioF

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.indexObject

Returns the value of attribute index.



3
4
5
# File 'lib/scenario.rb', line 3

def index
  @index
end

Class Method Details

.register(name) ⇒ Object



6
7
8
# File 'lib/scenario.rb', line 6

def register(name)
  Scenario.index[name] = self
end