cmds/static.rb in ruby_process-0.0.7 vs cmds/static.rb in ruby_process-0.0.8
- old
+ new
@@ -15,10 +15,10 @@
#Process-method for the 'static'-method.
def cmd_static(obj)
if obj.key?(:block)
real_block = proc{|*args|
debug "Block called! #{args}\n" if @debug
- send(:cmd => :block_call, :block_id => obj[:block][:id], :args => handle_return_args(args))
+ send(:cmd => :block_call, :block_id => obj[:block][:id], :answer_id => obj[:send_id], :args => handle_return_args(args))
}
block = block_with_arity(:arity => obj[:block][:arity], &real_block)
else
block = nil
\ No newline at end of file