summaryrefslogtreecommitdiff
path: root/lib/shell/filter.rb
diff options
context:
space:
mode:
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