--- !ruby/object:RDoc::RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:RDoc::Markup::Flow::P 
  :body: Returns <tt>true</tt> if the given key is present in <em>hsh</em>.
- !ruby/struct:RDoc::Markup::Flow::VERB 
  :body: "   h = { &quot;a&quot; =&gt; 100, &quot;b&quot; =&gt; 200 }\n   h.has_key?(&quot;a&quot;)   #=&gt; true\n   h.has_key?(&quot;z&quot;)   #=&gt; false\n"
full_name: Hash#key?
is_singleton: false
name: 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
