On Wed, Jun 8, 2011 at 4:22 AM, Ryan Davis <ryand-ruby / zenspider.com> wrote:
> How about raising a specific exception that is rescued by #require instead?
>
> class AbortRequire < StandardError; end
...
> raise AbortRequire if defined? GitoriousConfig

That's pretty clean too. Name needs work ;)

I almost suggested a special catch tag that all requires wrap, but
catch/throw is a little arcane for most folks...

- Charlie