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.
static VALUE
fsdbm_replace(VALUE obj, VALUE other)
{
fsdbm_clear(obj);
rb_block_call(other, rb_intern("each_pair"), 0, 0, update_i, obj);
return obj;
}