Method: FunRuby::Hash#merge
- Defined in:
- lib/fun_ruby/hash.rb
#merge(first = F._, second = F._) ⇒ Hash
Merges two hashes. The key-value pairs from the second to the first. If the key is already taken the current value will be replaced.
193 194 195 |
# File 'lib/fun_ruby/hash.rb', line 193 def merge(first = F._, second = F._) curry_implementation(:merge, first, second) end |