From: bugmenot bugmenot Date: 2009-07-05T18:19:28+09:00 Subject: [ruby-core:24147] [Bug #1729] Returning ignores ensure section when inside lambda Issue #1729 has been updated by bugmenot bugmenot. I forgot to add that the same code works when it's in a regular function: def bar begin return ensure puts "hi mom" end end bar It just fails when it's in a lambda. ---------------------------------------- http://redmine.ruby-lang.org/issues/show/1729 ---------------------------------------- http://redmine.ruby-lang.org