[ruby-core:78296] [Ruby trunk Misc#12976] Update example of Hash#value? and Hash#has_value?

From: ruby@...
Date: 2016-11-24 17:02:12 UTC
List: ruby-core #78296
Issue #12976 has been reported by Herwin W.

----------------------------------------
Misc #12976: Update example of Hash#value? and Hash#has_value?
https://bugs.ruby-lang.org/issues/12976

* Author: Herwin W
* Status: Open
* Priority: Normal
* Assignee: 
----------------------------------------
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.




-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next