[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:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>