X7ROOT File Manager
Current Path:
/opt/alt/ruby18/share/ri/1.8/system/Hash
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Hash
/
📄
%3d%3d-i.yaml
(833 B)
📄
%5b%5d%3d-i.yaml
(744 B)
📄
%5b%5d-c.yaml
(818 B)
📄
%5b%5d-i.yaml
(567 B)
ðŸ“
..
📄
cdesc-Hash.yaml
(4.2 KB)
📄
clear-i.yaml
(470 B)
📄
default%3d-i.yaml
(878 B)
📄
default-i.yaml
(998 B)
📄
default_proc-i.yaml
(633 B)
📄
delete-i.yaml
(884 B)
📄
delete_if-i.yaml
(571 B)
📄
each-i.yaml
(882 B)
📄
each_key-i.yaml
(576 B)
📄
each_pair-i.yaml
(649 B)
📄
each_value-i.yaml
(596 B)
📄
empty%3f-i.yaml
(370 B)
📄
eql%3f-i.yaml
(330 B)
📄
fetch-i.yaml
(1.38 KB)
📄
has_key%3f-i.yaml
(623 B)
📄
has_value%3f-i.yaml
(554 B)
📄
hash-i.yaml
(359 B)
📄
include%3f-i.yaml
(623 B)
📄
index-i.yaml
(471 B)
📄
indexes-i.yaml
(319 B)
📄
indices-i.yaml
(319 B)
📄
initialize_copy-i.yaml
(558 B)
📄
inspect-i.yaml
(273 B)
📄
invert-i.yaml
(602 B)
📄
key%3f-i.yaml
(615 B)
📄
keys-i.yaml
(544 B)
📄
length-i.yaml
(557 B)
📄
member%3f-i.yaml
(621 B)
📄
merge%21-i.yaml
(1.27 KB)
📄
merge-i.yaml
(852 B)
📄
new-c.yaml
(1.66 KB)
📄
pretty_print-i.yaml
(177 B)
📄
pretty_print_cycle-i.yaml
(189 B)
📄
rehash-i.yaml
(886 B)
📄
reject%21-i.yaml
(344 B)
📄
reject-i.yaml
(387 B)
📄
replace-i.yaml
(542 B)
📄
select-i.yaml
(660 B)
📄
shift-i.yaml
(627 B)
📄
size-i.yaml
(553 B)
📄
sort-i.yaml
(747 B)
📄
store-i.yaml
(746 B)
📄
to_a-i.yaml
(550 B)
📄
to_hash-i.yaml
(248 B)
📄
to_s-i.yaml
(635 B)
📄
to_yaml-i.yaml
(177 B)
📄
update-i.yaml
(1.27 KB)
📄
value%3f-i.yaml
(546 B)
📄
values-i.yaml
(485 B)
📄
values_at-i.yaml
(620 B)
📄
yaml_initialize-i.yaml
(192 B)
Editing: cdesc-Hash.yaml
--- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: A <tt>Hash</tt> is a collection of key-value pairs. It is similar to an <tt>Array</tt>, except that indexing is done via arbitrary keys of any object type, not an integer index. The order in which you traverse a hash by either key or value may seem arbitrary, and will generally not be in the insertion order. - !ruby/struct:SM::Flow::P body: Hashes have a <em>default value</em> that is returned when accessing keys that do not exist in the hash. By default, that value is <tt>nil</tt>. - !ruby/struct:SM::Flow::P body: <tt>Hash</tt> uses <tt>key.eql?</tt> to test keys for equality. If you need to use instances of your own classes as keys in a <tt>Hash</tt>, it is recommended that you define both the <tt>eql?</tt> and <tt>hash</tt> methods. The <tt>hash</tt> method must have the property that <tt>a.eql?(b)</tt> implies <tt>a.hash == b.hash</tt>. - !ruby/struct:SM::Flow::VERB body: " class MyClass\n attr_reader :str\n def initialize(str)\n @str = str\n end\n def eql?(o)\n o.is_a?(MyClass) && str == o.str\n end\n def hash\n @str.hash\n end\n end\n\n a = MyClass.new("some string")\n b = MyClass.new("some string")\n a.eql? b #=> true\n\n h = {}\n\n h[a] = 1\n h[a] #=> 1\n h[b] #=> 1\n\n h[b] = 2\n h[a] #=> 2\n h[b] #=> 2\n" constants: [] full_name: Hash includes: - !ruby/object:RI::IncludedModule name: Enumerable instance_methods: - !ruby/object:RI::MethodSummary name: == - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: "[]=" - !ruby/object:RI::MethodSummary name: clear - !ruby/object:RI::MethodSummary name: default - !ruby/object:RI::MethodSummary name: default= - !ruby/object:RI::MethodSummary name: default_proc - !ruby/object:RI::MethodSummary name: delete - !ruby/object:RI::MethodSummary name: delete_if - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: each_key - !ruby/object:RI::MethodSummary name: each_pair - !ruby/object:RI::MethodSummary name: each_value - !ruby/object:RI::MethodSummary name: empty? - !ruby/object:RI::MethodSummary name: eql? - !ruby/object:RI::MethodSummary name: fetch - !ruby/object:RI::MethodSummary name: has_key? - !ruby/object:RI::MethodSummary name: has_value? - !ruby/object:RI::MethodSummary name: hash - !ruby/object:RI::MethodSummary name: include? - !ruby/object:RI::MethodSummary name: index - !ruby/object:RI::MethodSummary name: indexes - !ruby/object:RI::MethodSummary name: indices - !ruby/object:RI::MethodSummary name: initialize_copy - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: invert - !ruby/object:RI::MethodSummary name: key? - !ruby/object:RI::MethodSummary name: keys - !ruby/object:RI::MethodSummary name: length - !ruby/object:RI::MethodSummary name: member? - !ruby/object:RI::MethodSummary name: merge - !ruby/object:RI::MethodSummary name: merge! - !ruby/object:RI::MethodSummary name: pretty_print - !ruby/object:RI::MethodSummary name: pretty_print_cycle - !ruby/object:RI::MethodSummary name: rehash - !ruby/object:RI::MethodSummary name: reject - !ruby/object:RI::MethodSummary name: reject! - !ruby/object:RI::MethodSummary name: replace - !ruby/object:RI::MethodSummary name: select - !ruby/object:RI::MethodSummary name: shift - !ruby/object:RI::MethodSummary name: size - !ruby/object:RI::MethodSummary name: sort - !ruby/object:RI::MethodSummary name: store - !ruby/object:RI::MethodSummary name: to_a - !ruby/object:RI::MethodSummary name: to_hash - !ruby/object:RI::MethodSummary name: to_s - !ruby/object:RI::MethodSummary name: to_yaml - !ruby/object:RI::MethodSummary name: update - !ruby/object:RI::MethodSummary name: value? - !ruby/object:RI::MethodSummary name: values - !ruby/object:RI::MethodSummary name: values_at - !ruby/object:RI::MethodSummary name: yaml_initialize name: Hash superclass: Object
Upload File
Create Folder