Hi,

In message "[ruby-talk:02214] *DBM#invert"
    on 00/03/28, Clemens Hintze <c.hintze / gmx.net> writes:

|There seems really to be a bug! DBM#invert will build a hash during
|execution that contains all values as keys and the keys as
|values. That means your demo 'mdb.each { ... }' should return:
|
|1--a
|2--b
|
|But the bug seems to be that DBM#invert returns the DBM instance
|itself instead of the new-created hash! So in your example DBM#each is
|called instead of Hash#each.
|
|The same is true for GDBM!

Oops, thank you for the patches.