GPL-3.0 License
== ODB
The ruby object database
== Notes:
This stuff is still in pre-alpha. Don't expect it to work for anything useful just quite yet.
== Installation
./bin/odb-install
== Usage === Process 1
require 'lib/odb' Odb.path = "."
class Foo attr_accessor :bar end
f = Foo.new f.bar = "a_value" a = [1, "bar", f]
Odb::Object.write(a) #=> 4 (the object_id)
=== Process 2
require 'lib/odb' Odb.path = "."
class Foo attr_accessor :bar end
a = Odb::Object.read(4) => [object_id:0, object_id:1, object_id:3] a[0] => 1 a[1] => "bar" a[2] => #<Foo:0x10115d018 @bar="a_value">
== Bugs