Flowdock
method

replace

Importance_1
v6.0.0 - 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.