summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-29 05:36:25 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-29 05:36:25 +0000
commitbbf36fbb2f907b71c9ba9766e519b7b19801efd9 (patch)
tree0d9af4b636b8888a746f99b178483a978c7fecb3 /error.c
parent80cb3c3ebd8a074f45a49ad7268a1f841417ce96 (diff)
merges r27994 from trunk into ruby_1_9_2.
-- * error.c: fix wrong exception class name in rdoc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'error.c')
-rw-r--r--error.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/error.c b/error.c
index e1fe2aa497..5afabce482 100644
--- a/error.c
+++ b/error.c
@@ -1235,7 +1235,7 @@ syserr_eqq(VALUE self, VALUE exc)
* 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 @@ syserr_eqq(VALUE self, VALUE exc)
* 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.
*/