Class: Stories::Story

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#nameObject

Returns the value of attribute name


56
57
58
# File 'lib/stories/runner.rb', line 56

def name
  @name
end

#scenariosObject

Returns the value of attribute scenarios


56
57
58
# File 'lib/stories/runner.rb', line 56

def scenarios
  @scenarios
end