[前][次][番号順一覧][スレッド一覧]

ruby-changes:37758

From: hsbt <ko1@a...>
Date: Wed, 4 Mar 2015 10:17:07 +0900 (JST)
Subject: [ruby-changes:37758] hsbt:r49839 (trunk): * enum.c: Fix typo in slice_after's exception message.

hsbt	2015-03-04 10:17:02 +0900 (Wed, 04 Mar 2015)

  New Revision: 49839

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=49839

  Log:
    * enum.c: Fix typo in slice_after's exception message.
      [fix GH-842][ci skip] Patch by @jsyeo

  Modified files:
    trunk/ChangeLog
    trunk/enum.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 49838)
+++ ChangeLog	(revision 49839)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Wed Mar  4 10:16:57 2015  SHIBATA Hiroshi  <shibata.hiroshi@g...>
+
+	* enum.c: Fix typo in slice_after's exception message.
+	  [fix GH-842][ci skip] Patch by @jsyeo
+
 Wed Mar  4 10:15:37 2015  SHIBATA Hiroshi  <shibata.hiroshi@g...>
 
 	* doc/syntax/methods.rdoc: add some missing spaces and
Index: enum.c
===================================================================
--- enum.c	(revision 49838)
+++ enum.c	(revision 49839)
@@ -3234,7 +3234,7 @@ enum_slice_after(int argc, VALUE *argv, https://github.com/ruby/ruby/blob/trunk/enum.c#L3234
 
     if (rb_block_given_p()) {
         if (0 < argc)
-            rb_raise(rb_eArgError, "both pattan and block are given");
+            rb_raise(rb_eArgError, "both pattern and block are given");
         pred = rb_block_proc();
     }
     else {

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]