Use the superclass properly

This commit is contained in:
Jack Nagel 2014-09-12 21:28:25 -05:00
parent 1f3bbe64e0
commit 20516ee39b

View File

@ -95,8 +95,8 @@ class CannotInstallFormulaError < RuntimeError; end
class FormulaAlreadyInstalledError < RuntimeError; end class FormulaAlreadyInstalledError < RuntimeError; end
class FormulaInstallationAlreadyAttemptedError < Homebrew::InstallationError class FormulaInstallationAlreadyAttemptedError < Homebrew::InstallationError
def message def initialize(formula)
"Formula installation already attempted: #{formula}" super formula, "Formula installation already attempted: #{formula}"
end end
end end