update( hsh )
public
Updates the database with multiple values from the specified object. Takes
any object which implements the each_pair method, including Hash and DBM objects.
Returns self.
Show source
def update( hsh )
hsh.keys.each do |k|
self.store( k, hsh.fetch( k ) )
end
self
end