summaryrefslogtreecommitdiffstats
path: root/lib/shell/error.rb
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-02-07 19:00:21 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-02-07 19:00:21 +0000
commitf35373f67cba87b5107cffcc11587c9bfdfdfdd0 (patch)
tree960edfb9a75e23469822711a5e6016993fe6326b /lib/shell/error.rb
parent2b22e50aad3f8838b67a8e13e6031124ed593b3d (diff)
downloadruby-f35373f67cba87b5107cffcc11587c9bfdfdfdd0.tar.gz
ruby-f35373f67cba87b5107cffcc11587c9bfdfdfdd0.tar.xz
ruby-f35373f67cba87b5107cffcc11587c9bfdfdfdd0.zip
* lib/irb/workspace.rb, lib/irb/ext/math-mode.rb,
lib/irb/ext/multi-irb.rb, lib/irb/lc/error.rb, lib/irb/lc/help-message, lib/irb/lc/ja/error.rb, lib/shell/command-processor.rb, lib/shell/error.rb, lib/shell/filter.rb: Fix typos and grammos. [approved by: keiju] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/shell/error.rb')
-rw-r--r--lib/shell/error.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/shell/error.rb b/lib/shell/error.rb
index df5e669af..d338b1c5d 100644
--- a/lib/shell/error.rb
+++ b/lib/shell/error.rb
@@ -18,8 +18,8 @@ class Shell
def_e2message TypeError, "wrong argument type %s (expected %s)"
def_exception :DirStackEmpty, "Directory stack empty."
- def_exception :CanNotDefine, "Can't define method(%s, %s)."
- def_exception :CanNotMethodApply, "This method(%s) can't apply this type(%s)."
+ def_exception :CantDefine, "Can't define method(%s, %s)."
+ def_exception :CantApplyMethod, "This method(%s) does not apply to this type(%s)."
def_exception :CommandNotFound, "Command not found(%s)."
end
end