summaryrefslogtreecommitdiff
path: root/lib/e2mmap.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-09-22 02:37:13 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-09-22 02:37:13 +0000
commit975e0fadaac292b85a6bdb44eb09c7ad5163c8ff (patch)
treedc3aeefcb03bd48946293e262cc52d5f62340947 /lib/e2mmap.rb
parentfe7108a822f0440c2d021298bffedc68aca729b5 (diff)
matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/e2mmap.rb')
-rw-r--r--lib/e2mmap.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/e2mmap.rb b/lib/e2mmap.rb
index c5f54e0..2ae9345 100644
--- a/lib/e2mmap.rb
+++ b/lib/e2mmap.rb
@@ -10,7 +10,7 @@
#
# U1)
# class Foo
-# extend Exception2MassageMapper
+# extend Exception2MessageMapper
# def_e2message ExistingExceptionClass, "message..."
# def_exception :NewExceptionClass, "message..."[, superclass]
# ...
@@ -18,13 +18,13 @@
#
# U2)
# module Error
-# extend Exception2MassageMapper
+# extend Exception2MessageMapper
# def_e2meggage ExistingExceptionClass, "message..."
# def_exception :NewExceptionClass, "message..."[, superclass]
# ...
# end
# class Foo
-# include Exp
+# include Error
# ...
# end
#
@@ -33,7 +33,7 @@
#
# U3)
# module Error
-# extend Exception2MassageMapper
+# extend Exception2MessageMapper
# def_e2message ExistingExceptionClass, "message..."
# def_exception :NewExceptionClass, "message..."[, superclass]
# ...
@@ -112,7 +112,7 @@ module Exception2MessageMapper
E2MM.def_e2message(self, c, m)
end
- # def_exception(c, m, s)
+ # def_exception(n, m, s)
# n: exception_name
# m: message_form
# s: superclass(default: StandardError)
@@ -139,7 +139,7 @@ module Exception2MessageMapper
c
end
- # E2MM.def_exception(k, c, m, s)
+ # E2MM.def_exception(k, n, m, s)
# k: class to define exception under.
# n: exception_name
# m: message_form