method

replace

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: SDBM
replace(p1) public

Empties the database, then inserts the given key-value pairs.

This method will work with any object which implements an each_pair method, such as a Hash.

Show source
Register or log in to add new notes.