ruby-changes:39665
From: nobu <ko1@a...>
Date: Thu, 3 Sep 2015 18:00:33 +0900 (JST)
Subject: [ruby-changes:39665] nobu:r51746 (trunk): vm_eval.c: should be singular
nobu 2015-09-03 17:57:47 +0900 (Thu, 03 Sep 2015) New Revision: 51746 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=51746 Log: vm_eval.c: should be singular * vm_eval.c (raise_method_missing): "names" should be singular. pointed out by Filip Bartuzi. Modified files: trunk/ChangeLog trunk/vm_eval.c Index: ChangeLog =================================================================== --- ChangeLog (revision 51745) +++ ChangeLog (revision 51746) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Thu Sep 3 17:54:26 2015 Nobuyoshi Nakada <nobu@r...> + + * vm_eval.c (raise_method_missing): "names" should be singular. + pointed out by Filip Bartuzi. + Thu Sep 3 17:50:09 2015 Koichi Sasada <ko1@a...> * gc.c (rb_raw_obj_info): should support IMEMO/iseq. Index: vm_eval.c =================================================================== --- vm_eval.c (revision 51745) +++ vm_eval.c (revision 51746) @@ -694,7 +694,7 @@ raise_method_missing(rb_thread_t *th, in https://github.com/ruby/ruby/blob/trunk/vm_eval.c#L694 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? */ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/