Ruby - Error Handling
What is the role of the
ensure block in Ruby exception handling?ensure block in Ruby exception handling?ensureensure block always runs after begin, regardless of exceptions.rescue which handles exceptions, ensure is for cleanup code that must run.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions