class Flor::Pro::Andor

Public Instance Methods

execute() click to toggle source
Calls superclass method Flor::Procedure#execute
# File lib/flor/pcore/andor.rb, line 25
def execute

  payload['ret'] = (heap == 'and')

  super
end
receive_att() click to toggle source
Calls superclass method Flor::Procedure#receive_att
# File lib/flor/pcore/andor.rb, line 32
def receive_att

  c = children[@fcid]; return super if c[0] == '_att' && [1].size == 2

  ret = Flor.true?(payload['ret'])

  return wrap_reply if ((heap == 'or' && ret) || (heap == 'and' && ! ret))

  super
end
Also aliased as: receive_non_att
receive_non_att()
Alias for: receive_att