DB#to_hash fixed

This commit is contained in:
Denis Knauf 2010-04-03 13:12:57 +02:00
parent 41c8d7005e
commit a143782a9f

View file

@ -96,7 +96,7 @@ module SBDB
cursor{|c|c.reverse key, val, &exe}
end
def to_hash key = nil, vval = nil
def to_hash key = nil, val = nil
ht = {}
each key, val, ht.method( :[]=)
ht