Flowdock
method

replace

Importance_1
v4.0.2 - Show latest stable - 0 notes - Class: ActiveSupport::HashWithIndifferentAccess
replace(other_hash) public

Replaces the contents of this hash with other_hash.

h = { "a" => 100, "b" => 200 }
h.replace({ "c" => 300, "d" => 400 }) #=> {"c"=>300, "d"=>400}
Show source
Register or log in to add new notes.