method

sync

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: GDBM
sync() public

Unless the gdbm object has been opened with the SYNC flag, it is not guaranteed that database modification operations are immediately applied to the database file. This method ensures that all recent modifications to the database are written to the file. Blocks until all writing operations to the disk have been finished.

Show source
Register or log in to add new notes.