From 503eea32fd65598b34d93f0fc98faac619d0bf90 Mon Sep 17 00:00:00 2001 From: Denis Knauf Date: Tue, 2 Feb 2010 14:23:40 +0100 Subject: [PATCH] Env#initialize: typo --- lib/sbdb/environment.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sbdb/environment.rb b/lib/sbdb/environment.rb index 55a6864..39c7157 100644 --- a/lib/sbdb/environment.rb +++ b/lib/sbdb/environment.rb @@ -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