Flowdock
method

reverse_merge

Importance_1
v2.1.0 - Show latest stable - 1 note - Class: ActiveSupport::CoreExtensions::Hash::ReverseMerge
reverse_merge(other_hash) public

Performs the opposite of merge, with the keys and values from the first hash taking precedence over the second.

Show source
Register or log in to add new notes.
July 22, 2008
2 thanks

reverse_merge(other_hash)

Performs the opposite of merge, with the keys and values from the first hash taking precedence over the second.