Project

General

Profile

Feature #12960 » 0006-feat-psych-refactor-hook-point-methods-for-merge.patch

kwatch (makoto kuwata), 11/19/2016 03:21 AM

View differences:

ext/psych/lib/psych/visitors/to_ruby.rb
def merge_sequence hash, val
h = {}
val.reverse_each do |value|
h.merge! value
merge_mapping(h, value)
end
hash.merge! h
merge_mapping(hash, h)
end
def merge_key hash, key, val
(6-6/10)