diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-06 23:03:54 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-06 23:03:54 +0000 |
commit | 973f84ef558b6869ecc1e017cbe48b197726c7bf (patch) | |
tree | 9dfc10ab071511f39e5e201a315a42fdadf5edeb | |
parent | 3a94b881b9cf9464b36a2b60e969f8161f0da921 (diff) |
Show the class of the receiver [Feature #15231]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | object.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1686,7 +1686,8 @@ rb_false(VALUE obj) static VALUE rb_obj_match(VALUE obj1, VALUE obj2) { - rb_warning("Object#=~ is deprecated; it always returns nil"); + rb_warning("deprecated Object#=~ is called on %"PRIsVALUE + "; it always returns nil", rb_obj_class(obj1)); return Qnil; } |