Class: Turnip::Builder::Scenario

Inherits:
Object
  • Object
show all
Includes:
Name, Tags
Defined in:
lib/turnip/builder.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Name

#name

Methods included from Tags

#metadata_hash, #tags, #tags_hash

Constructor Details

#initialize(raw) ⇒ Scenario

Returns a new instance of Scenario.



61
62
63
64
# File 'lib/turnip/builder.rb', line 61

def initialize(raw)
  @raw = raw
  @steps = []
end

Instance Attribute Details

#stepsObject

Returns the value of attribute steps.



59
60
61
# File 'lib/turnip/builder.rb', line 59

def steps
  @steps
end