Class: Scrab::Scenario
- Inherits:
-
Object
- Object
- Scrab::Scenario
- Defined in:
- lib/scrab/scenario.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#name ⇒ Object
Returns the value of attribute name.
-
#steps ⇒ Object
readonly
Returns the value of attribute steps.
Instance Method Summary collapse
-
#initialize ⇒ Scenario
constructor
A new instance of Scenario.
Constructor Details
#initialize ⇒ Scenario
Returns a new instance of Scenario.
5 6 7 |
# File 'lib/scrab/scenario.rb', line 5 def initialize @steps = [] end |
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
2 3 4 |
# File 'lib/scrab/scenario.rb', line 2 def description @description end |
#name ⇒ Object
Returns the value of attribute name.
2 3 4 |
# File 'lib/scrab/scenario.rb', line 2 def name @name end |
#steps ⇒ Object (readonly)
Returns the value of attribute steps.
3 4 5 |
# File 'lib/scrab/scenario.rb', line 3 def steps @steps end |