HEX
Server: Apache
System: Linux s198.coreserver.jp 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC 2025 x86_64
User: nagasaki (10062)
PHP: 7.1.33
Disabled: NONE
Upload Files
File: //usr/local/rvm/gems/ruby-3.0.2/doc/activesupport-6.1.4.1/ri/Hash/deep_merge-i.ri
U:RDoc::AnyMethod[iI"deep_merge:ETI"Hash#deep_merge;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"HReturns a new hash with +self+ and +other_hash+ merged recursively.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim;	[	I"+h1 = { a: true, b: { c: [1, 2, 3] } }
;TI",h2 = { a: false, b: { x: [3, 4, 5] } }
;TI"
;TI"Lh1.deep_merge(h2) # => { a: false, b: { c: [1, 2, 3], x: [3, 4, 5] } }
;T:@format0o;
;	[I"KLike with Hash#merge in the standard library, a block can be provided ;TI"to merge values:;T@o;;	[	I"-h1 = { a: 100, b: 200, c: { c1: 100 } }
;TI"%h2 = { b: 250, c: { c1: 200 } }
;TI"Kh1.deep_merge(h2) { |key, this_val, other_val| this_val + other_val }
;TI",# => { a: 100, b: 450, c: { c1: 300 } };T;
0:
@fileI"3lib/active_support/core_ext/hash/deep_merge.rb;T:0@omit_headings_from_table_of_contents_below000[I"(other_hash, &block);T@FI"	Hash;TcRDoc::NormalClass00