Class: Protest::Stories::Story
- Inherits:
-
Object
- Object
- Protest::Stories::Story
- Defined in:
- lib/protest/stories.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.
54 55 56 57 |
# File 'lib/protest/stories.rb', line 54 def initialize(name) @name = name @scenarios = [] end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
52 53 54 |
# File 'lib/protest/stories.rb', line 52 def name @name end |
#scenarios ⇒ Object
Returns the value of attribute scenarios.
52 53 54 |
# File 'lib/protest/stories.rb', line 52 def scenarios @scenarios end |