Class: Turnip::Builder::Scenario

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Line

#line

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.



65
66
67
68
# File 'lib/turnip/builder.rb', line 65

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

Instance Attribute Details

#stepsObject

Returns the value of attribute steps.



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

def steps
  @steps
end