Sha256: 0b506519d4d5152450eaf882749bfb1ed53687afcdb2bec3d5f04273a6d0552f
Contents?: true
Size: 1.87 KB
Versions: 16
Compression:
Stored size: 1.87 KB
Contents
o:$YARD::CodeObjects::MethodObject: @name:default_proc:@docstringIC:YARD::Docstring"MIf <code>Hash::new</code> was invoked with a block, return that block, otherwise return <code>nil</code>. h = Hash.new {|h,k| h[k] = k*k } #=> {} p = h.default_proc #=> #<Proc:0x401b3d08@-:1> a = [] #=> [] p.call(a, 2) a #=> [nil, nil, 4] :@objectu:YARD::StubProxyHash#default_proc: @summary0: @all"yIf <code>Hash::new</code> was invoked with a block, return that block, otherwise return <code>nil</code>. h = Hash.new {|h,k| h[k] = k*k } #=> {} p = h.default_proc #=> #<Proc:0x401b3d08@-:1> a = [] #=> [] p.call(a, 2) a #=> [nil, nil, 4] @overload default_proc @return [Object]:@ref_tags[ : @tags[o:YARD::Tags::OverloadTag ; u;Hash#default_proc;;;IC; "