Project

General

Profile

Actions

Feature #10177

open

Hash#has_key? and Hash#has_value? should be deprecated

Added by gogotanaka (Kazuki Tanaka) about 10 years ago. Updated about 10 years ago.

Status:
Open
Assignee:
-
Target version:
-
[ruby-core:64593]

Description

I referred to this Matz's remark.

http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/43765

And I agree with him, I supposed Hash#has_key? should be preferred over Hash#key?,

so I replaced all of Hash#has_key? and Hash#has_value? in lib/* with Hash#key? and Hash#value?


Files

Replace_Hash#has_something.PATCH (20.4 KB) Replace_Hash#has_something.PATCH gogotanaka (Kazuki Tanaka), 08/27/2014 10:55 PM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0