Project

General

Profile

Actions

Misc #12976

closed

Update example of Hash#value? and Hash#has_value?

Added by herwin (Herwin W) over 7 years ago. Updated over 7 years ago.

Status:
Closed
Assignee:
-
[ruby-core:78296]

Description

https://github.com/ruby/ruby/pull/1491

The same code is used for has_value? and value?, but according to http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/43765 has_value is deprecated. Use the non-deprecated syntax in the examples.

Actions

Also available in: Atom PDF

Like0
Like0Like0