summaryrefslogtreecommitdiff
path: root/include/ruby
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-26 07:55:07 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-26 07:55:07 +0000
commitebff9dc10e6e72239c23e50acc7d3cbfdc659e7a (patch)
tree26182851eb992cc67916e9e9ace053e2aaac5cc2 /include/ruby
parentf7e94df0d66aff47745d189ab5a7858a92233d57 (diff)
object.c: Deprecate Object#=~ and add NilClass#=~`
Object#=~ always returns nil. This behavior is not only unuseful but also troublesome because it may hide a type error. This change deprecates Object#=~. For compatibility, NilClass#=~ is newly introduced. [Feature #15231] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby')
0 files changed, 0 insertions, 0 deletions