Method: Flor::Pro::Push#receive_last

Defined in:
lib/flor/pcore/push.rb

#receive_lastObject



57
58
59
60
61
62
63
64
65
# File 'lib/flor/pcore/push.rb', line 57

def receive_last

  push(@node.has_key?('val') ? @node['val'] : node_payload_ret)

  payload['ret'] = node_payload_ret \
    unless tree[0] == 'pushr'

  wrap_reply
end