diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-10-02 16:45:35 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-10-02 16:45:35 +0000 |
commit | 29cef5f795043a048a58874d90de0dfe01aa12ea (patch) | |
tree | 6ae42a518c1c5705b8f097668d2b83413da0b6ec /lib/shell/filter.rb | |
parent | 8815306dc5aadd777c887bbd8de7057598ad709c (diff) | |
download | ruby-29cef5f795043a048a58874d90de0dfe01aa12ea.tar.gz |
use Object#class instead of deprecated Object#type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 |