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

ruby-changes:35835

From: zzak <ko1@a...>
Date: Wed, 15 Oct 2014 04:54:50 +0900 (JST)
Subject: [ruby-changes:35835] zzak:r47917 (trunk): * error.c: [DOC] Fix case of type in exception message by @tricknotes

zzak	2014-10-15 04:54:36 +0900 (Wed, 15 Oct 2014)

  New Revision: 47917

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

  Log:
    * error.c: [DOC] Fix case of type in exception message by @tricknotes
      [Fixes GH-740] https://github.com/ruby/ruby/pull/740
    
    * object.c: ditto

  Modified files:
    trunk/ChangeLog
    trunk/error.c
    trunk/object.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 47916)
+++ ChangeLog	(revision 47917)
@@ -1,3 +1,10 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Wed Oct 15 04:53:30 2014  Zachary Scott  <e@z...>
+
+	* error.c: [DOC] Fix case of type in exception message by @tricknotes
+	  [Fixes GH-740] https://github.com/ruby/ruby/pull/740
+
+	* object.c: ditto
+
 Tue Oct 14 21:39:16 2014  Vit Ondruch  <vondruch@r...>
 
 	* tool/rbinstall.rb (gem): Fix permissions of bundled gems
Index: object.c
===================================================================
--- object.c	(revision 47916)
+++ object.c	(revision 47917)
@@ -1073,7 +1073,7 @@ rb_obj_infect(VALUE obj1, VALUE obj2) https://github.com/ruby/ruby/blob/trunk/object.c#L1073
  *
  *  <em>produces:</em>
  *
- *     prog.rb:3:in `<<': can't modify frozen array (RuntimeError)
+ *     prog.rb:3:in `<<': can't modify frozen Array (RuntimeError)
  *     	from prog.rb:3
  *
  *  Objects of the following classes are always frozen: Fixnum,
Index: error.c
===================================================================
--- error.c	(revision 47916)
+++ error.c	(revision 47917)
@@ -1669,7 +1669,7 @@ syserr_eqq(VALUE self, VALUE exc) https://github.com/ruby/ruby/blob/trunk/error.c#L1669
  *
  *  <em>raises the exception:</em>
  *
- *     RuntimeError: can't modify frozen array
+ *     RuntimeError: can't modify frozen Array
  *
  *  Kernel.raise will raise a RuntimeError if no Exception class is
  *  specified.

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

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