JezK
Edit File: merge-i.ri
U:RDoc::AnyMethod[iI" merge:EFI"$Concurrent::MutableStruct#merge;FF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I""@!macro [attach] struct_merge;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"NReturns a new struct containing the contents of `other` and the contents ;TI"Oof `self`. If no block is specified, the value for entries with duplicate ;TI"Nkeys will be that of `other`. Otherwise the value for each duplicate key ;TI"Nis determined by calling the block with the key, its value in `self` and ;TI"its value in `other`. ;TI" ;TI"C@param [Hash] other the hash from which to set the new values ;TI":@yield an options block for resolving duplicate keys ;TI"T@yieldparam [String, Symbol] member the name of the member which is duplicated ;TI"F@yieldparam [Object] selfvalue the value of the member in `self` ;TI"H@yieldparam [Object] othervalue the value of the member in `other` ;TI" ;TI"P@return [Synchronization::AbstractStruct] a new struct with the new values ;TI" ;TI"O@raise [ArgumentError] of given a member that is not defined in the struct;T:@format0: @fileI"%lib/concurrent/mutable_struct.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(other, &block);T@ FI"MutableStruct;FcRDoc::NormalModule00