Class: Protest::Stories::Story

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#nameObject

Returns the value of attribute name.



52
53
54
# File 'lib/protest/stories.rb', line 52

def name
  @name
end

#scenariosObject

Returns the value of attribute scenarios.



52
53
54
# File 'lib/protest/stories.rb', line 52

def scenarios
  @scenarios
end