Class: DistributedTrie::KvsDbm

Inherits:
KvsBase show all
Defined in:
lib/distributedtrie/kvs/dbm.rb

Overview

dbm implementation

Instance Method Summary collapse

Methods inherited from KvsBase

#enabled?, #get, #put!

Methods inherited from KvsIf

#_getInternal, #delete, #get, #put!

Constructor Details

#initialize(dbFilename) ⇒ KvsDbm

Returns a new instance of KvsDbm.



41
42
43
# File 'lib/distributedtrie/kvs/dbm.rb', line 41

def initialize( dbFilename )
  @db = DBM.new( dbFilename )
end