Stop raising during the raise ctor

This commit is contained in:
Max Howell 2010-01-16 19:38:27 +00:00
parent 614d243269
commit 8a1b17e04b

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