Skip to content

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

class method

DBM.open

DBM.open(filename[, mode[, flags]]) → dbm
DBM.open(filename[, mode[, flags]]) {|dbm| block}

Open a dbm database and yields it if a block is given. See also DBM.new.

See also .new #[] #[]=