Just Making Sure

Looking back, it seems too obvious. It hadn’t even occurred to me… the ensure clause in a begin…end construct, what does it do? Well… it ensures the code within that section is run — whatever the weather.

Edit: this is Ruby.