src code

instance method Hash#update

Hash#update(object) → Hash

Updates hash with the key/value pairs of object. The original hash will be modified. To return a new hash instead, use Hash#merge.