Methods

updateΒΆ

update(dst:Hash, src:Hash)

Update a Hash with key-value pairs from another Hash. For non destructive version use "dst + src".

Returns

dst

Example

{"a": 1, "b": 2}.update({"b": 10, "c": 20})  # {a=1, b=10, c=20}