diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-09-03 08:57:47 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-09-03 08:57:47 +0000 |
commit | 2c357a557461dfe895a3ca0d9c1d8d009b8be75d (patch) | |
tree | 52e44225c750a84b08d9c227c8f6498ce08eedef /vm_eval.c | |
parent | e25f9ceddfb5315a4022de87e547d4a029e03818 (diff) |
vm_eval.c: should be singular
* vm_eval.c (raise_method_missing): "names" should be singular.
pointed out by Filip Bartuzi.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_eval.c')
-rw-r--r-- | vm_eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -694,7 +694,7 @@ raise_method_missing(rb_thread_t *th, int argc, const VALUE *argv, VALUE obj, const char *format = 0; if (UNLIKELY(argc == 0)) { - rb_raise(rb_eArgError, "no method names given"); + rb_raise(rb_eArgError, "no method name given"); } else if (UNLIKELY(!SYMBOL_P(argv[0]))) { const VALUE e = rb_eArgError; /* TODO: TypeError? */ |