D
Demonic Software
Is there a way to *completely* serialize objects and move them to
another machien in Ruby? I would like to be able to serialize an entire
object (e.g. all the methods, objects, etc.), then transfer this
serialized object to another interpreter session, which may or may not
be on the same machine, and deserialize the object. The objective I
have in mind is to be able to migrate the object into the other session
and use it as if it was on the instantiated in that session.
I have read about Marshal and YAML, and these two options don't seem to
have that capability. Are these the only two options for serialization
in Ruby?
another machien in Ruby? I would like to be able to serialize an entire
object (e.g. all the methods, objects, etc.), then transfer this
serialized object to another interpreter session, which may or may not
be on the same machine, and deserialize the object. The objective I
have in mind is to be able to migrate the object into the other session
and use it as if it was on the instantiated in that session.
I have read about Marshal and YAML, and these two options don't seem to
have that capability. Are these the only two options for serialization
in Ruby?