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