return_bang implements non-local exits for methods. As a bonus, you also get exception handling that ignores standard Ruby's inflexible begin; rescue; ensure; end syntax. Use return_bang to exit back to a processing loop from deeply nested code, or just to confound your enemies *and* your friends! What could possibly go wrong?
Required Ruby Version
>= 1.9.2
Authors
Eric Hodel
Versions
-
1.1
-
source
- 1.1 source April 01, 2012 (12 KB)
-
-
1.0
-
source
- 1.0 source December 21, 2011 (9.5 KB)
-