PATH:
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Hash
U:RDoc::AnyMethod[iI"[]:ETI" Hash::[];TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"KReturns a new +Hash+ object populated with the given objects, if any. ;TI"See Hash::new.;To:RDoc::Markup::BlankLine o; ; [I"2With no argument, returns a new empty +Hash+.;T@o; ; [I"FWhen the single given argument is a +Hash+, returns a new +Hash+ ;TI"Epopulated with the entries from the given +Hash+, excluding the ;TI"default value or proc.;T@o:RDoc::Markup::Verbatim; [I""h = {foo: 0, bar: 1, baz: 2} ;TI".Hash[h] # => {:foo=>0, :bar=>1, :baz=>2} ;T:@format0o; ; [I"EWhen the single given argument is an Array of 2-element Arrays, ;TI"Freturns a new +Hash+ object wherein each 2-element array forms a ;TI"key-value entry:;T@o;; [I">Hash[ [ [:foo, 0], [:bar, 1] ] ] # => {:foo=>0, :bar=>1} ;T; 0o; ; [I"0When the argument count is an even number; ;TI"Kreturns a new +Hash+ object wherein each successive pair of arguments ;TI""has become a key-value entry:;T@o;; [I"4Hash[:foo, 0, :bar, 1] # => {:foo=>0, :bar=>1} ;T; 0o; ; [I"FRaises an exception if the argument list does not conform to any ;TI"of the above.;T: @fileI"hash.c;T:0@omit_headings_from_table_of_contents_below0I"xHash[] -> new_empty_hash Hash[hash] -> new_hash Hash[ [*2_element_arrays] ] -> new_hash Hash[*objects] -> new_hash ;T0[ I"(*args);T@0FI" Hash;TcRDoc::NormalClass00
[+]
..
[-] compare_by_identity%3f-i.ri
[edit]
[-] assoc-i.ri
[edit]
[-] merge-i.ri
[edit]
[-] has_value%3f-i.ri
[edit]
[-] include%3f-i.ri
[edit]
[-] default_proc%3d-i.ri
[edit]
[-] each_key-i.ri
[edit]
[-] size-i.ri
[edit]
[-] compare_by_identity-i.ri
[edit]
[-] try_convert-c.ri
[edit]
[-] to_s-i.ri
[edit]
[-] delete-i.ri
[edit]
[-] %3c%3d-i.ri
[edit]
[-] key%3f-i.ri
[edit]
[-] transform_values-i.ri
[edit]
[-] value%3f-i.ri
[edit]
[-] %3c-i.ri
[edit]
[-] initialize_copy-i.ri
[edit]
[-] any%3f-i.ri
[edit]
[-] rehash-i.ri
[edit]
[-] %5b%5d%3d-i.ri
[edit]
[-] default-i.ri
[edit]
[-] to_a-i.ri
[edit]
[-] update-i.ri
[edit]
[-] flatten-i.ri
[edit]
[-] each_pair-i.ri
[edit]
[-] each_value-i.ri
[edit]
[-] filter-i.ri
[edit]
[-] new-c.ri
[edit]
[-] reject%21-i.ri
[edit]
[-] %3e-i.ri
[edit]
[-] has_key%3f-i.ri
[edit]
[-] fetch_values-i.ri
[edit]
[-] invert-i.ri
[edit]
[-] transform_keys-i.ri
[edit]
[-] fetch-i.ri
[edit]
[-] to_h-i.ri
[edit]
[-] hash-i.ri
[edit]
[-] store-i.ri
[edit]
[-] to_proc-i.ri
[edit]
[-] values_at-i.ri
[edit]
[-] each-i.ri
[edit]
[-] default_proc-i.ri
[edit]
[-] merge%21-i.ri
[edit]
[-] eql%3f-i.ri
[edit]
[-] ruby2_keywords_hash%3f-c.ri
[edit]
[-] slice-i.ri
[edit]
[-] empty%3f-i.ri
[edit]
[-] keep_if-i.ri
[edit]
[-] default%3d-i.ri
[edit]
[-] transform_values%21-i.ri
[edit]
[-] member%3f-i.ri
[edit]
[-] %5b%5d-i.ri
[edit]
[-] cdesc-Hash.ri
[edit]
[-] keys-i.ri
[edit]
[-] reject-i.ri
[edit]
[-] shift-i.ri
[edit]
[-] filter%21-i.ri
[edit]
[-] compact-i.ri
[edit]
[-] rassoc-i.ri
[edit]
[-] %3e%3d-i.ri
[edit]
[-] dig-i.ri
[edit]
[-] transform_keys%21-i.ri
[edit]
[-] select-i.ri
[edit]
[-] %3d%3d-i.ri
[edit]
[-] to_hash-i.ri
[edit]
[-] inspect-i.ri
[edit]
[-] except-i.ri
[edit]
[-] select%21-i.ri
[edit]
[-] replace-i.ri
[edit]
[-] %5b%5d-c.ri
[edit]
[-] clear-i.ri
[edit]
[-] ruby2_keywords_hash-c.ri
[edit]
[-] values-i.ri
[edit]
[-] length-i.ri
[edit]
[-] key-i.ri
[edit]
[-] delete_if-i.ri
[edit]
[-] compact%21-i.ri
[edit]