class Flor::Pro::Sequence

Public Instance Methods

cancel_when_closed() click to toggle source
# File lib/flor/pcore/sequence.rb, line 55
def cancel_when_closed

  return cancel if node_status_flavour == 'on-error'

  []
end
receive_att() click to toggle source
Calls superclass method Flor::Procedure#receive_att
# File lib/flor/pcore/sequence.rb, line 45
def receive_att

  ms = []

  ms = enter_tag \
    if @node['tags'].nil? && payload_ret.is_a?(String) && from_unkeyed_att?

  ms + super
end

Protected Instance Methods

enter_tag() click to toggle source
# File lib/flor/pcore/sequence.rb, line 64
def enter_tag

  @node['tags'] = tags = [ payload_ret ]

  wrap('point' => 'entered', 'nid' => nid, 'tags' => tags)
end