%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /opt/cpanel/ea-ruby24/root/usr/share/ri/system/Hash/
Upload File :
Create Path :
Current File : //opt/cpanel/ea-ruby24/root/usr/share/ri/system/Hash/default-i.ri

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"G<i>hsh</i>[<i>key</i>] if <i>key</i> did not exist in <i>hsh</i>. ;TI"DSee also <code>Hash::new</code> and <code>Hash#default=</code>.;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

Zerion Mini Shell 1.0