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
- #continuation ⇒ T.untyped private
Instance Method Summary collapse
- #ignore ⇒ void private
Instance Attribute Details
#continuation ⇒ T.untyped
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.
15 16 17 |
# File 'ignorable.rb', line 15 def continuation @continuation end |
Instance Method Details
#ignore ⇒ void
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.
This method returns an undefined value.
18 19 20 |
# File 'ignorable.rb', line 18 def ignore continuation.call end |