RubyGems Navigation menu

return_bang 1.1

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?

Versions:

  1. 1.1 - April 01, 2012 (12 KB)
  2. 1.0 - December 21, 2011 (9.5 KB)

Development Dependencies (3):

  • hoe ~> 2.16
  • minitest ~> 2.11
  • rdoc ~> 3.10
  • Owners:

    Authors:

    • Eric Hodel

    SHA 256 checksum:

    59de9fb486edb634df366a8995a4cb7b83584137ba8bbf76f1b9f9213604bbd4

    Total downloads 4,700

    For this version 2,688

    Gemfile:
    = Copy to clipboard Copied!

    install:
    =

    Licenses:

    N/A

    Required Ruby Version: >= 1.9.2

    Links: