Skip to content

End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

instance method

DBM#each_key

dbm.each_key {|key| block} → self

Calls the block once for each key string in the database. Returns self.