DB#to_hash fixed
This commit is contained in:
parent
a143782a9f
commit
9734d78410
1 changed files with 3 additions and 3 deletions
|
@ -98,7 +98,7 @@ module SBDB
|
|||
|
||||
def to_hash key = nil, val = nil
|
||||
ht = {}
|
||||
each key, val, ht.method( :[]=)
|
||||
each key, val, &ht.method( :[]=)
|
||||
ht
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue