Class: Spinach::Step

Inherits:
Object
  • Object
show all
Defined in:
lib/spinach/step.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(scenario) ⇒ Step

Returns a new instance of Step



6
7
8
# File 'lib/spinach/step.rb', line 6

def initialize(scenario)
  @scenario = scenario
end

Instance Attribute Details

#keywordObject

Returns the value of attribute keyword



4
5
6
# File 'lib/spinach/step.rb', line 4

def keyword
  @keyword
end

#lineObject

Returns the value of attribute line



3
4
5
# File 'lib/spinach/step.rb', line 3

def line
  @line
end

#nameObject

Returns the value of attribute name



4
5
6
# File 'lib/spinach/step.rb', line 4

def name
  @name
end

#scenarioObject

Returns the value of attribute scenario



4
5
6
# File 'lib/spinach/step.rb', line 4

def scenario
  @scenario
end