diff options
Diffstat (limited to 'lib/shell/filter.rb')
-rw-r--r-- | lib/shell/filter.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/shell/filter.rb b/lib/shell/filter.rb index 441cded221..727826b7c9 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.type + Filter.Fail CanNotMethodApply, "<", to.class end end @@ -63,7 +63,7 @@ class Shell when IO each(){|l| to << l} else - Filter.Fail CanNotMethodApply, ">", to.type + Filter.Fail CanNotMethodApply, ">", to.class end self end @@ -72,7 +72,7 @@ class Shell begin Shell.cd(@shell.pwd).append(to, self) rescue CanNotMethodApply - Shell.Fail CanNotMethodApply, ">>", to.type + Shell.Fail CanNotMethodApply, ">>", to.class end end |