alternative to rescue in ruby ?
Posted
by wefwgeweg
on Stack Overflow
See other posts from Stack Overflow
or by wefwgeweg
Published on 2010-04-17T05:19:59Z
Indexed on
2010/04/17
5:23 UTC
Read the original article
Hit count: 130
ruby
it seems like i have begin rescue end statements everywhere in my code. this doesn't seem like the correct thing to do. i am learning process, can anyone suggest how can i catch any exceptions without having to place everything inside begin,rescue, end.
anyway to just tell ruby to shut up and just keep going even if exception is raised ?
© Stack Overflow or respective owner