[ruby-cvs:64214] naruse:r57048 (trunk): Updated documentation examples for Hash#value?

naruse at ruby-lang.org naruse at ruby-lang.org
Sun Dec 11 03:34:08 JST 2016


naruse	2016-12-11 03:34:07 +0900 (Sun, 11 Dec 2016)

  New Revision: 57048

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57048

  Log:
    Updated documentation examples for Hash#value?
    
    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.
    by Herwin Weststrate <herwin at snt.utwente.nl>
    fix https://github.com/ruby/ruby/pull/1491

  Modified files:
    trunk/hash.c


More information about the ruby-cvs mailing list