1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[DOC] Update Object#=~ [ci skip]

see r65989

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kazu 2018-12-16 14:54:05 +00:00
parent f84ae88b2c
commit 968fcd8346

View file

@ -1678,9 +1678,10 @@ rb_false(VALUE obj)
* call-seq:
* obj =~ other -> nil
*
* Pattern Match---Overridden by descendants (notably
* <code>Regexp</code> and <code>String</code>) to provide meaningful
* pattern-match semantics.
* This method is deprecated.
*
* This is not only unuseful but also troublesome because it
* may hide a type error.
*/
static VALUE