summaryrefslogtreecommitdiff
path: root/vm_method.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm_method.c')
-rw-r--r--vm_method.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vm_method.c b/vm_method.c
index f15917e711..66c783ce2a 100644
--- a/vm_method.c
+++ b/vm_method.c
@@ -1939,8 +1939,8 @@ vm_respond_to(rb_thread_t *th, VALUE klass, VALUE obj, ID id, int priv)
}
else if (!NIL_P(ruby_verbose)) {
VALUE location = rb_method_entry_location(me);
- rb_warn("%"PRIsVALUE"%c""respond_to?(:%"PRIsVALUE") is"
- " old fashion which takes only one parameter",
+ rb_warn("%"PRIsVALUE"%c""respond_to?(:%"PRIsVALUE") uses"
+ " the deprecated method signature, which takes one parameter",
(FL_TEST(klass, FL_SINGLETON) ? obj : klass),
(FL_TEST(klass, FL_SINGLETON) ? '.' : '#'),
QUOTE_ID(id));