Sha256: 505548d46a9a1c31caf5ef7abcaafeccdcc932b3eb68ef8db5432967c1d85301
Contents?: true
Size: 289 Bytes
Versions: 5
Compression:
Stored size: 289 Bytes
Contents
class Ruby_process #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
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
ruby_process-0.0.9 | cmds/marshal.rb |
ruby_process-0.0.8 | cmds/marshal.rb |
ruby_process-0.0.7 | cmds/marshal.rb |
ruby_process-0.0.5 | cmds/marshal.rb |
ruby_process-0.0.4 | cmds/marshal.rb |