Stop raising during the raise ctor

This commit is contained in:
Max Howell committed 2010-01-16 20:25:50 +00:00
1 parent 127cdfdb53
commit f2dcec1f70
1 file changed
+1 -1
+1 -1
View File
@@ -72,7 +72,7 @@ class ExecutionError <RuntimeError
def pretty args
args.collect do |arg|
if arg.include? ' '
if arg.to_s.include? ' '
"'#{ arg.gsub "'", "\\'" }'"
else
arg