Module: Rubarb::RemoteCall

Included in:
IncomingConnection, OutgoingConnection
Defined in:
lib/rubarb/remote_call.rb

Instance Method Summary collapse

Instance Method Details

#marshal_call(*args) ⇒ Object



3
4
5
# File 'lib/rubarb/remote_call.rb', line 3

def marshal_call(*args)
  Marshal::dump(args)
end

#unmarshal_call(data) ⇒ Object



7
8
9
# File 'lib/rubarb/remote_call.rb', line 7

def unmarshal_call(data)
  return *Marshal::load(data)
end