new

DBM.new(filename[, mode[, flags]]) รข dbm
Class Public methods

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.

doc_ruby_on_rails
2015-04-02 19:00:28
Comments
Leave a Comment

Please login to continue.