Class: KyotoCabinet::Db::MemoryHash
- Inherits:
-
PolymorphicDb
- Object
- PolymorphicDb
- KyotoCabinet::Db::MemoryHash
- Defined in:
- lib/kyotocabinet_ffi/db/memory_hash_db.rb
Overview
deprecated - use PolymorphicDb directly
Instance Method Summary collapse
-
#initialize(*options) ⇒ MemoryHash
constructor
A new instance of MemoryHash.
Methods inherited from PolymorphicDb
#[], #[]=, #clear, #empty?, tmp_filedb
Methods included from KyotoCabinet::Db
#clear, #clear!, #close, #close!, #get, #last_error, #last_error_code, #last_error_message, #new, #open, #open!, #set, #set!, #size
Constructor Details
#initialize(*options) ⇒ MemoryHash
Returns a new instance of MemoryHash.
6 7 8 9 |
# File 'lib/kyotocabinet_ffi/db/memory_hash_db.rb', line 6 def initialize(*) self.new self.open!(KyotoCabinet::MEMORY_HASH, *) end |