exit ruby without raise an error, like in php?

140 views Asked by At

I need to use exit in ruby. But my problem is "exit" method raise an error :

SystemExit in ...

I want like in php show all the view until the exit instruction. How can I do that?

0

There are 0 answers