diff options
author | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-16 14:54:05 +0000 |
---|---|---|
committer | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-16 14:54:05 +0000 |
commit | 968fcd8346ecb15af8fef76e3b7f7e1be1737a4f (patch) | |
tree | 20323b727d5ec1172e40dceb476d34d87d2e6184 /object.c | |
parent | f84ae88b2c7261b7ad679f29aeb7937367bfbdb4 (diff) |
[DOC] Update Object#=~ [ci skip]
see r65989
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'object.c')
-rw-r--r-- | object.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 |