summaryrefslogtreecommitdiff
path: root/lib/shell/filter.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
commit718b4e9ea018afd023a9e82251954d10814c0244 (patch)
tree960edfb9a75e23469822711a5e6016993fe6326b /lib/shell/filter.rb
parent916f41d7175e67d2c9bfa022dd4cc94094c94960 (diff)
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@3461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/shell/filter.rb')
-rw-r--r--lib/shell/filter.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/shell/filter.rb b/lib/shell/filter.rb
index 727826b7c9..4cf793a3b3 100644
--- a/lib/shell/filter.rb
+++ b/lib/shell/filter.rb
@@ -47,7 +47,7 @@ class Shell
self.input = src
self
else
- Filter.Fail CanNotMethodApply, "<", to.class
+ Filter.Fail CantApplyMethod, "<", to.class
end
end
@@ -63,7 +63,7 @@ class Shell
when IO
each(){|l| to << l}
else
- Filter.Fail CanNotMethodApply, ">", to.class
+ Filter.Fail CantApplyMethod, ">", to.class
end
self
end
@@ -71,8 +71,8 @@ class Shell
def >> (to)
begin
Shell.cd(@shell.pwd).append(to, self)
- rescue CanNotMethodApply
- Shell.Fail CanNotMethodApply, ">>", to.class
+ rescue CantApplyMethod
+ Shell.Fail CantApplyMethod, ">>", to.class
end
end