This commit is contained in:
Denis Knauf 2010-02-02 18:12:11 +01:00
parent 8bb9d18313
commit 3b169d4838
2 changed files with 3 additions and 0 deletions

View file

@ -6,6 +6,8 @@ require 'sbdb/cursor'
module SBDB
CREATE = Bdb::DB_CREATE
AUTO_COMMIT = Bdb::DB_AUTO_COMMIT
RDONLY = Bdb::DB_RDONLY
READONLY = RDONLY
def btree( *p) Btree.new *p end
def hash( *p) Hash.new *p end

View file

@ -8,6 +8,7 @@ module SBDB
HASH = Bdb::Db::HASH
QUEUE = Bdb::Db::QUEUE
ARRAY = RECNO = Bdb::Db::RECNO
RDONLY = READLONY = Bdb::DB_RDONLY
attr_reader :home
include Enumerable