summaryrefslogtreecommitdiff
path: root/vm_eval.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-09-03 08:57:47 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-09-03 08:57:47 +0000
commit2c357a557461dfe895a3ca0d9c1d8d009b8be75d (patch)
tree52e44225c750a84b08d9c227c8f6498ce08eedef /vm_eval.c
parente25f9ceddfb5315a4022de87e547d4a029e03818 (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_eval.c b/vm_eval.c
index e12006a..5d3d893 100644
--- a/vm_eval.c
+++ b/vm_eval.c
@@ -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? */