Skip to content

End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

instance method

YAML::DBM#update

ydbm.update(hash) → ydbm

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.

See also #to_hash #values #to_a #values_at also in 4.1 · 4.0 · 3.4 · 3.3 · 3.1 · 3.0