관리-도구
편집 파일: 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