Module: Debrew::Raise Private
- Defined in:
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Module for allowing to ignore exceptions.
Instance Method Summary collapse
- #raise ⇒ Object (also: #fail) private
Instance Method Details
#raise ⇒ Object Also known as: fail
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
17 18 19 20 21 22
# File 'Library/Homebrew/debrew.rb', line 17 def raise(*) super rescue Exception => e # rubocop:disable Lint/RescueException e.extend() super(e) unless .(e) == :ignore end