Preview: has_key%3f-i.yaml
Size: 623 B
//proc/self/root/proc/self/root/proc/self/root/opt/alt/ruby18/share/ri/1.8/system/Hash/has_key%3f-i.yaml
--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: Returns <tt>true</tt> if the given key is present in <em>hsh</em>.
- !ruby/struct:SM::Flow::VERB
body: " h = { "a" => 100, "b" => 200 }\n h.has_key?("a") #=> true\n h.has_key?("z") #=> false\n"
full_name: Hash#has_key?
is_singleton: false
name: has_key?
params: |
hsh.has_key?(key) => true or false
hsh.include?(key) => true or false
hsh.key?(key) => true or false
hsh.member?(key) => true or false
visibility: public
Directory Contents
Dirs: 0 × Files: 55