4 # :title: DBM registry implementation
6 # DBM is the ruby standard library wrapper module for Unix-style
7 # dbm libraries. The specific library used depends
8 # on how ruby was compiled. Its any of the following: ndbm, bdb,
10 # http://ruby-doc.org/stdlib-2.1.0/libdoc/dbm/rdoc/DBM.html
19 class DBMAccessor < AbstractAccessor
23 @registry ||= DBM.open(@filename, 0666, DBM::WRCREAT)
27 not Dir.glob(@filename + '.*').empty?