Module: Roma::Storage::GDBM_Ext
- Defined in:
- lib/roma/storage/dbm_storage.rb
Instance Method Summary collapse
Instance Method Details
#get(k) ⇒ Object
9 |
# File 'lib/roma/storage/dbm_storage.rb', line 9 def get(k); self[k]; end |
#out(k) ⇒ Object
10 |
# File 'lib/roma/storage/dbm_storage.rb', line 10 def out(k); delete(k); end |
#put(k, v) ⇒ Object
8 |
# File 'lib/roma/storage/dbm_storage.rb', line 8 def put(k,v); self[k] = v; end |
#rnum ⇒ Object
11 |
# File 'lib/roma/storage/dbm_storage.rb', line 11 def rnum; length; end |