summaryrefslogtreecommitdiff
path: root/lib/shell/command-processor.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/shell/command-processor.rb')
-rw-r--r--lib/shell/command-processor.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/shell/command-processor.rb b/lib/shell/command-processor.rb
index 459cf858d0b..79310359e64 100644
--- a/lib/shell/command-processor.rb
+++ b/lib/shell/command-processor.rb
@@ -49,7 +49,7 @@ class Shell
rescue LoadError, Errno::ENOENT
rescue
print "load error: #{rc}\n"
- print $!.type, ": ", $!, "\n"
+ print $!.class, ": ", $!, "\n"
for err in $@[0, $@.size - 2]
print "\t", err, "\n"
end
@@ -277,7 +277,7 @@ class Shell
when IO
AppendIO.new(@shell, to, filter)
else
- Shell.Fail CanNotMethodApply, "append", to.type
+ Shell.Fail CanNotMethodApply, "append", to.class
end
end