class Flor::Pro::DoubleQuoteString
Public Instance Methods
Source
# File lib/flor/pcore/_dqs.rb, line 12 def execute_child(index=0, sub=nil, h=nil) payload['ret'] = node_payload_ret # always pass the noe_payload_ret to children super end
Calls superclass method
Flor::Procedure#execute_child
Source
# File lib/flor/pcore/_dqs.rb, line 20 def receive_last wrap('ret' => @node['rets'].collect { |e| to_string(e) }.join) end
Protected Instance Methods
Source
# File lib/flor/pcore/_dqs.rb, line 27 def to_string(result) case result when String then result when nil then '' else JSON.dump(result) end end