Class: Stories::Story
- Inherits:
-
Object
- Object
- Stories::Story
- Defined in:
- lib/stories/runner.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#scenarios ⇒ Object
Returns the value of attribute scenarios.
Instance Method Summary collapse
-
#initialize(name) ⇒ Story
constructor
A new instance of Story.
Constructor Details
#initialize(name) ⇒ Story
Returns a new instance of Story.
58 59 60 61 |
# File 'lib/stories/runner.rb', line 58 def initialize(name) @name = name @scenarios = [] end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
56 57 58 |
# File 'lib/stories/runner.rb', line 56 def name @name end |
#scenarios ⇒ Object
Returns the value of attribute scenarios.
56 57 58 |
# File 'lib/stories/runner.rb', line 56 def scenarios @scenarios end |