Class: Chaintown::Step

Inherits:
Object
  • Object
show all
Includes:
Steps
Defined in:
lib/chaintown/step.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Steps

extended, #failed_step, included, #inherited, #step

Constructor Details

#initialize(step_handler) ⇒ Step

Returns a new instance of Step.



8
9
10
# File 'lib/chaintown/step.rb', line 8

def initialize(step_handler)
  @step_handler = step_handler
end

Instance Attribute Details

#if_conditionObject

Returns the value of attribute if_condition.



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

def if_condition
  @if_condition
end

#step_handlerObject (readonly)

Returns the value of attribute step_handler.



5
6
7
# File 'lib/chaintown/step.rb', line 5

def step_handler
  @step_handler
end