diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-01-19 00:39:12 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-01-19 00:39:12 +0000 |
commit | 389a84fdbf3a81f363cb00609214bee7984d15aa (patch) | |
tree | c76d32a5cb72b77beea2ccd05c55a5e4d86f7b68 /vm_method.c | |
parent | 8d6d6116ac3b737ee51af40ce8d0c735bae44e8e (diff) |
* vm_method.c: fix grammar in respond_to? warning.
[fix GH-1047]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_method.c')
-rw-r--r-- | vm_method.c | 4 |
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)); |