Sha256: 9f5971d9ad0a176fd42b0c53cfc93f33368dd207b5f2f636e8575dec63fcf9ac
Contents?: true
Size: 289 Bytes
Versions: 2
Compression:
Stored size: 289 Bytes
Contents
class RubyProcess #This command returns an object as a marshalled string, so it can be re-created on the other side. def cmd_obj_marshal(obj) myobj = @objects[obj[:id]] raise "Object by that ID does not exist: '#{obj[:id]}'." if !myobj return Marshal.dump(myobj) end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
ruby_process-0.0.13 | cmds/marshal.rb |
RubyProcess-0.0.12 | cmds/marshal.rb |