Module: Stealth::Flow::ClassMethods

Defined in:
lib/stealth/flow/base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#flow_specObject (readonly)

Returns the value of attribute flow_spec.



14
15
16
# File 'lib/stealth/flow/base.rb', line 14

def flow_spec
  @flow_spec
end

Instance Method Details

#flow(&specification) ⇒ Object



16
17
18
# File 'lib/stealth/flow/base.rb', line 16

def flow(&specification)
  assign_flow Specification.new(Hash.new, &specification)
end