Env#initialize: typo

This commit is contained in:
Denis Knauf 2010-02-02 14:23:40 +01:00
parent 299978a9ed
commit 503eea32fd

View file

@ -32,7 +32,7 @@ module SBDB
def unknown( *p, &e) Unknown.new *p[0...5], self, p[5..-1], &e end
def initialize dir = nil, flags = nil, mode = nil
@dbs, @env = WeakHash.new, Bdb::Env.new 0
@dbs, @env = WeakHash.new, Bdb::Env.new( 0)
begin @env.open dir || '.', flags || INIT_TRANSACTION | CREATE, mode || 0
rescue Object
close