summaryrefslogtreecommitdiffstats
path: root/error.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-31 06:43:32 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-31 06:43:32 +0000
commit67803b69e9cd28aed4058928e09d79d4adf89466 (patch)
tree7ebffca7ebb8051af0d9cc1c5adbada1089baba3 /error.c
parenta1ee71583e259867090ee68114d5e40633aa3192 (diff)
downloadruby-67803b69e9cd28aed4058928e09d79d4adf89466.tar.gz
ruby-67803b69e9cd28aed4058928e09d79d4adf89466.tar.xz
ruby-67803b69e9cd28aed4058928e09d79d4adf89466.zip
fix typos.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14811 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 25ddb344a..5b6049427 100644
--- a/error.c
+++ b/error.c
@@ -667,7 +667,7 @@ name_err_name(VALUE self)
* call-seq:
* name_error.to_s => string
*
- * Produce a nicely-formated string representing the +NameError+.
+ * Produce a nicely-formatted string representing the +NameError+.
*/
static VALUE
@@ -993,7 +993,7 @@ errno_missing(VALUE self, VALUE id)
}
/*
- * Descendents of class <code>Exception</code> are used to communicate
+ * Descendants of class <code>Exception</code> are used to communicate
* between <code>raise</code> methods and <code>rescue</code>
* statements in <code>begin/end</code> blocks. <code>Exception</code>
* objects carry information about the exception---its type (the