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.
57 58 59 60 |
# File 'lib/stories/runner.rb', line 57 def initialize(name) @name = name @scenarios = [] end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
55 56 57 |
# File 'lib/stories/runner.rb', line 55 def name @name end |
#scenarios ⇒ Object
Returns the value of attribute scenarios.
55 56 57 |
# File 'lib/stories/runner.rb', line 55 def scenarios @scenarios end |