X
Xeno Campanoli
I can't figure out Rescue. I have the following:
rescue SystemCallError
print "parse failed on #{line}" + $!
raise
end
and it doesn't compile:
/validateMenuSpecs.rb:135: syntax error
rescue SystemCallError
^
/validateMenuSpecs.rb:135: warning: useless use of a constant in void
context
/validateMenuSpecs.rb:173: syntax error
rescue SystemCallError
print "parse failed on #{line}" + $!
raise
end
and it doesn't compile:
/validateMenuSpecs.rb:135: syntax error
rescue SystemCallError
^
/validateMenuSpecs.rb:135: warning: useless use of a constant in void
context
/validateMenuSpecs.rb:173: syntax error