From ae4bf4b37a410c8221ae0b1239ed52a46661d2a6 Mon Sep 17 00:00:00 2001 From: keiju Date: Sun, 21 Mar 2004 12:21:11 +0000 Subject: * lib/shell/*: bug fix for Shell#system(command_line_string). git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@5994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/shell/system-command.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/shell/system-command.rb') diff --git a/lib/shell/system-command.rb b/lib/shell/system-command.rb index 6071c1c84..f87ba890e 100644 --- a/lib/shell/system-command.rb +++ b/lib/shell/system-command.rb @@ -16,7 +16,7 @@ class Shell class SystemCommand < Filter def initialize(sh, command, *opts) if t = opts.find{|opt| !opt.kind_of?(String) && opt.class} - Shell.Fail TypeError, t.class, "String" + Shell.Fail Error::TypeError, t.class, "String" end super(sh) @command = command -- cgit