method

new

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: DBM
new(p1, p2 = v2, p3 = v3) public

Open a dbm database with the specified name, which can include a directory path. Any file extensions needed will be supplied automatically by the dbm library. For example, Berkeley DB appends ‘.db’, and GNU gdbm uses two physical files with extensions ‘.dir’ and ‘.pag’.

The mode should be an integer, as for Unix chmod.

Flags should be one of READER, WRITER, WRCREAT or NEWDB.

Show source
Register or log in to add new notes.