Module: Debrew::Raise

Defined in:
Library/Homebrew/debrew.rb

Instance Method Summary collapse

Instance Method Details

#raiseObject Also known as: fail



10
11
12
13
14
15
# File 'Library/Homebrew/debrew.rb', line 10

def raise(*)
  super
rescue Exception => e # rubocop:disable Lint/RescueException
  e.extend(Ignorable)
  super(e) unless Debrew.debug(e) == :ignore
end