While I was working on embedding an interpreter I wrote a function to
catch unhandled exceptions and spit out some information on the
exception. While testing I noticed that the Kernel's 'exit' method
actually seems to raise an exception.
Is this intended behavior? It struck me as somewhat odd and I had to
write a handler for it in my code (which is a pain in the bum if for no
other reason than it seems to lack elegance).
--
Posted via http://www.ruby-forum.com/.