From 0078170a230771038c3d5d47ae1761f5b9449917 Mon Sep 17 00:00:00 2001 From: Denis Knauf Date: Tue, 2 Feb 2010 14:56:47 +0100 Subject: [PATCH] Env: Typo --- lib/sbdb/environment.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/sbdb/environment.rb b/lib/sbdb/environment.rb index 1595c35..7f3771b 100644 --- a/lib/sbdb/environment.rb +++ b/lib/sbdb/environment.rb @@ -21,23 +21,23 @@ module SBDB # returns the Bdb-object. def bdb_object() @env end # Opens a Btree in this Environment - def btree( file, name = nil, flags = nil, mode = nil, txn = nil, &e + def btree file, name = nil, flags = nil, mode = nil, txn = nil, &e Btree.new file, name, flags, mode, txn, self, &e end # Opens a Hash in this Environment - def hash( file, name = nil, flags = nil, mode = nil, txn = nil, &e + def hash file, name = nil, flags = nil, mode = nil, txn = nil, &e Hash.new file, name, flags, mode, txn, self, &e end # Opens a Recno in this Environment - def recno( file, name = nil, flags = nil, mode = nil, txn = nil, &e + def recno file, name = nil, flags = nil, mode = nil, txn = nil, &e Recno.new file, name, flags, mode, txn, self, &e end # Opens a Queue in this Environment - def queue( file, name = nil, flags = nil, mode = nil, txn = nil, &e + def queue file, name = nil, flags = nil, mode = nil, txn = nil, &e Queue.new file, name, flags, mode, txn, self, &e end # Opens a DB of unknown type in this Environment - def unknown( file, name = nil, flags = nil, mode = nil, txn = nil, &e + def unknown file, name = nil, flags = nil, mode = nil, txn = nil, &e Unknown.new file, name, flags, mode, txn, self, &e end