$69 GRAYBYTE WORDPRESS FILE MANAGER $76

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.23
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/ruby18/share/ri/1.8/system/Hash/

HOME
Current File : /opt/alt/ruby18/share/ri/1.8/system/Hash//new-c.yaml
--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Returns a new, empty hash. If this hash is subsequently accessed by a key that doesn't correspond to a hash entry, the value returned depends on the style of <tt>new</tt> used to create the hash. In the first form, the access returns <tt>nil</tt>. If <em>obj</em> is specified, this single object will be used for all <em>default values</em>. If a block is specified, it will be called with the hash object and the key, and should return the default value. It is the block's responsibility to store the value in the hash if required.
- !ruby/struct:SM::Flow::VERB 
  body: "   h = Hash.new(&quot;Go Fish&quot;)\n   h[&quot;a&quot;] = 100\n   h[&quot;b&quot;] = 200\n   h[&quot;a&quot;]           #=&gt; 100\n   h[&quot;c&quot;]           #=&gt; &quot;Go Fish&quot;\n   # The following alters the single default object\n   h[&quot;c&quot;].upcase!   #=&gt; &quot;GO FISH&quot;\n   h[&quot;d&quot;]           #=&gt; &quot;GO FISH&quot;\n   h.keys           #=&gt; [&quot;a&quot;, &quot;b&quot;]\n\n   # While this creates a new default object each time\n   h = Hash.new { |hash, key| hash[key] = &quot;Go Fish: #{key}&quot; }\n   h[&quot;c&quot;]           #=&gt; &quot;Go Fish: c&quot;\n   h[&quot;c&quot;].upcase!   #=&gt; &quot;GO FISH: C&quot;\n   h[&quot;d&quot;]           #=&gt; &quot;Go Fish: d&quot;\n   h.keys           #=&gt; [&quot;c&quot;, &quot;d&quot;]\n"
full_name: Hash::new
is_singleton: true
name: new
params: |
  Hash.new                          => hash
  Hash.new(obj)                     => aHash
  Hash.new {|hash, key| block }     => aHash

visibility: public


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.50 PM
root / linksafe
0755
%3d%3d-i.yaml
0.813 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
%5b%5d%3d-i.yaml
0.727 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
%5b%5d-c.yaml
0.799 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
%5b%5d-i.yaml
0.554 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
cdesc-Hash.yaml
4.203 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
clear-i.yaml
0.459 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
default%3d-i.yaml
0.857 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
default-i.yaml
0.975 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
default_proc-i.yaml
0.618 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
delete-i.yaml
0.863 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
delete_if-i.yaml
0.558 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
each-i.yaml
0.861 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
each_key-i.yaml
0.563 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
each_pair-i.yaml
0.634 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
each_value-i.yaml
0.582 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
empty%3f-i.yaml
0.361 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
eql%3f-i.yaml
0.322 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
fetch-i.yaml
1.381 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
has_key%3f-i.yaml
0.608 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
has_value%3f-i.yaml
0.541 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
hash-i.yaml
0.351 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
include%3f-i.yaml
0.608 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
index-i.yaml
0.46 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
indexes-i.yaml
0.312 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
indices-i.yaml
0.312 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
initialize_copy-i.yaml
0.545 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
inspect-i.yaml
0.267 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
invert-i.yaml
0.588 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
key%3f-i.yaml
0.601 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
keys-i.yaml
0.531 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
length-i.yaml
0.544 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
member%3f-i.yaml
0.606 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
merge%21-i.yaml
1.274 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
merge-i.yaml
0.832 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
new-c.yaml
1.657 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
pretty_print-i.yaml
0.173 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
pretty_print_cycle-i.yaml
0.185 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
rehash-i.yaml
0.865 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
reject%21-i.yaml
0.336 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
reject-i.yaml
0.378 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
replace-i.yaml
0.529 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
select-i.yaml
0.645 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
shift-i.yaml
0.612 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
size-i.yaml
0.54 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
sort-i.yaml
0.729 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
store-i.yaml
0.729 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
to_a-i.yaml
0.537 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
to_hash-i.yaml
0.242 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
to_s-i.yaml
0.62 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
to_yaml-i.yaml
0.173 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
update-i.yaml
1.274 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
value%3f-i.yaml
0.533 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
values-i.yaml
0.474 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
values_at-i.yaml
0.605 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
yaml_initialize-i.yaml
0.188 KB
26 Jul 2023 1.47 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF