gdbm.each_value { |value| block } â gdbm Instance Public methods Executes block for each key in the database, passing the corresponding value as a parameter.
gdbm.each_pair { |key, value| block } â gdbm Instance Public methods Executes block for each key in the database, passing the key and the correspoding value as a parameter.
gdbm.each_key { |key| block } â gdbm Instance Public methods Executes block for each key in the database, passing the key as a parameter.
gdbm.delete_if { |key, value| block } â gdbm Instance Public methods Deletes every key-value pair from gdbm for which block evaluates to true.
gdbm.delete(key) â value or nil Instance Public methods Removes the key-value-pair with the specified key from this database and returns the corresponding value. Returns nil if the database is empty.
gdbm.closed? â true or false Instance Public methods Returns true if the associated database file has been closed.
gdbm.close â nil Instance Public methods Closes the associated database file.
gdbm.clear â gdbm Instance Public methods Removes all the key-value pairs within gdbm.
gdbm.cachesize = size â size Instance Public methods Sets the size of the internal bucket cache to size.
Page 2056 of 2275