From 20516ee39be4b411f72a94e05353e5745079382f Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 12 Sep 2014 21:28:25 -0500 Subject: [PATCH] Use the superclass properly --- Library/Homebrew/exceptions.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb index b74234c351..add29a2f07 100644 --- a/Library/Homebrew/exceptions.rb +++ b/Library/Homebrew/exceptions.rb @@ -95,8 +95,8 @@ class CannotInstallFormulaError < RuntimeError; end class FormulaAlreadyInstalledError < RuntimeError; end class FormulaInstallationAlreadyAttemptedError < Homebrew::InstallationError - def message - "Formula installation already attempted: #{formula}" + def initialize(formula) + super formula, "Formula installation already attempted: #{formula}" end end