U:RDoc::AnyMethod[iI" default:ETI"Hash#default;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"DReturns the default value, the value that would be returned by ;TI"Ghsh[key] if key did not exist in hsh. ;TI"DSee also Hash::new and Hash#default=.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"4h = Hash.new #=> {} ;TI"5h.default #=> nil ;TI"5h.default(2) #=> nil ;TI" ;TI"4h = Hash.new("cat") #=> {} ;TI"7h.default #=> "cat" ;TI"7h.default(2) #=> "cat" ;TI" ;TI"4h = Hash.new {|h,k| h[k] = k.to_i*10} #=> {} ;TI"5h.default #=> nil ;TI"3h.default(2) #=> 20;T: @format0: @fileI" hash.c;T:0@omit_headings_from_table_of_contents_below0I"#hsh.default(key=nil) -> obj ;T0[I" (*args);T@FI" Hash;TcRDoc::NormalClass00