Class: Scrab::Scenario

Inherits:
Object
  • Object
show all
Defined in:
lib/scrab/scenario.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeScenario

Returns a new instance of Scenario.



5
6
7
# File 'lib/scrab/scenario.rb', line 5

def initialize
  @steps = []
end

Instance Attribute Details

#descriptionObject

Returns the value of attribute description.



2
3
4
# File 'lib/scrab/scenario.rb', line 2

def description
  @description
end

#nameObject

Returns the value of attribute name.



2
3
4
# File 'lib/scrab/scenario.rb', line 2

def name
  @name
end

#stepsObject (readonly)

Returns the value of attribute steps.



3
4
5
# File 'lib/scrab/scenario.rb', line 3

def steps
  @steps
end