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

ruby-changes:16112

From: yugui <ko1@a...>
Date: Sat, 29 May 2010 14:37:12 +0900 (JST)
Subject: [ruby-changes:16112] Ruby:r28066 (ruby_1_9_2): merges r27994 from trunk into ruby_1_9_2.

yugui	2010-05-29 14:36:25 +0900 (Sat, 29 May 2010)

  New Revision: 28066

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

  Log:
    merges r27994 from trunk into ruby_1_9_2.
    --
    * error.c: fix wrong exception class name in rdoc.

  Modified files:
    branches/ruby_1_9_2/ChangeLog
    branches/ruby_1_9_2/error.c

Index: ruby_1_9_2/ChangeLog
===================================================================
--- ruby_1_9_2/ChangeLog	(revision 28065)
+++ ruby_1_9_2/ChangeLog	(revision 28066)
@@ -1,3 +1,7 @@
+Mon May 24 23:04:41 2010  Tanaka Akira  <akr@f...>
+
+	* error.c: fix wrong exception class name in rdoc.
+
 Sat May 29 13:55:22 2010  NARUSE, Yui  <naruse@r...>
 
 	* encoding.c (rb_filesystem_encindex): avoid infinite require
@@ -915,7 +919,7 @@
 
 Fri Apr 30 22:46:27 2010  Marc-Andre Lafortune  <ruby-core@m...>
 
-	* math.c: Math::DomainError < StandardException [ruby-core:29855]
+	* math.c: Math::DomainError < StandardError [ruby-core:29855]
 
 Fri Apr 30 21:40:36 2010  Nobuyoshi Nakada  <nobu@r...>
 
Index: ruby_1_9_2/error.c
===================================================================
--- ruby_1_9_2/error.c	(revision 28065)
+++ ruby_1_9_2/error.c	(revision 28066)
@@ -1235,7 +1235,7 @@
  *  ScriptError is the superclass for errors raised when a script
  *  can not be executed because of a +LoadError+,
  *  +NotImplementedError+ or a +SyntaxError+. Note these type of
- *  +ScriptErrors+ are not +StandardExceptions+ and will not be
+ *  +ScriptErrors+ are not +StandardError+ and will not be
  *  rescued unless it is specified explicitly (or its ancestor
  *  +Exception+).
  */
@@ -1385,7 +1385,7 @@
  *  objects carry information about the exception---its type (the
  *  exception's class name), an optional descriptive string, and
  *  optional traceback information. Programs may subclass
- *  <code>Exception</code>, or more typically <code>StandardException</code>
+ *  <code>Exception</code>, or more typically <code>StandardError</code>
  *  to provide custom classes and add additional information.
  */
 

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

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