DB#to_hash fixed
This commit is contained in:
parent
41c8d7005e
commit
a143782a9f
|
@ -96,7 +96,7 @@ module SBDB
|
||||||
cursor{|c|c.reverse key, val, &exe}
|
cursor{|c|c.reverse key, val, &exe}
|
||||||
end
|
end
|
||||||
|
|
||||||
def to_hash key = nil, vval = nil
|
def to_hash key = nil, val = nil
|
||||||
ht = {}
|
ht = {}
|
||||||
each key, val, ht.method( :[]=)
|
each key, val, ht.method( :[]=)
|
||||||
ht
|
ht
|
||||||
|
|
Loading…
Reference in a new issue