class Flor::Pro::Twig
Public Instance Methods
pre_execute()
click to toggle source
# File lib/flor/pcore/twig.rb, line 7 def pre_execute unatt_unkeyed_children rep_first_child end
receive_first()
click to toggle source
Calls superclass method
Flor::Procedure#receive_first
# File lib/flor/pcore/twig.rb, line 13 def receive_first nac = non_att_children if nac.size == 1 wrap_reply('ret' => nac.first) else super end end
receive_non_att()
click to toggle source
# File lib/flor/pcore/twig.rb, line 24 def receive_non_att t = non_att_children.last set_value(payload['ret'], t) wrap end