SyntaxFix
Write A Post
Hire A Developer
Questions
This is why we need ensure:
ensure
def hoge begin raise rescue raise # raise again ensure puts 'ensure' # will be executed end puts 'end of func' # never be executed end