Class: ODB::HashStore
Instance Attribute Summary
Attributes inherited from DataStore
Instance Method Summary collapse
-
#initialize ⇒ HashStore
constructor
A new instance of HashStore.
- #read_object(key) ⇒ Object
- #write_object(key, value) ⇒ Object
Methods inherited from DataStore
#[], #[]=, #after_commit, #read, #write
Constructor Details
#initialize ⇒ HashStore
Returns a new instance of HashStore.
147 148 149 150 |
# File 'lib/odb.rb', line 147 def initialize super(nil) @store = {} end |