Module: Ignorable::ExceptionMixin Private

Defined in:
ignorable.rb

Overview

This module is part of a private API. This module may only be used in the Homebrew/brew repository. Third parties should avoid using this module if possible, as it may be removed or changed without warning.

Marks exceptions which can be ignored and provides the ability to jump back to where it was raised.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#continuationObject

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.



14
15
16
# File 'ignorable.rb', line 14

def continuation
  @continuation
end

Instance Method Details

#ignoreObject

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.



16
17
18
# File 'ignorable.rb', line 16

def ignore
  continuation.call
end