Class: Spinach::Step

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

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (Step) initialize(scenario)



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

def initialize(scenario)
  @scenario = scenario
end

Instance Attribute Details

- (Object) keyword

Returns the value of attribute keyword



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

def keyword
  @keyword
end

- (Object) line

Returns the value of attribute line



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

def line
  @line
end

- (Object) name

Returns the value of attribute name



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

def name
  @name
end

- (Object) scenario

Returns the value of attribute scenario



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

def scenario
  @scenario
end