Project

General

Profile

Misc #12976

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

Added by herwin (Herwin W) almost 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
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.

History

Updated by herwin (Herwin W) almost 3 years ago

This has been integrated, so this ticket can be closed

Updated by shyouhei (Shyouhei Urabe) almost 3 years ago

  • Status changed from Open to Closed

Thank you.

Also available in: Atom PDF