aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-09-12 21:28:25 -0500
committerJack Nagel2014-09-12 21:31:48 -0500
commit20516ee39be4b411f72a94e05353e5745079382f (patch)
treeb122849833b2deafea2f7b47e4f4bd04fdeb11d8 /Library
parent1f3bbe64e0df2535a7dd240e05b7741d28bdf267 (diff)
downloadbrew-20516ee39be4b411f72a94e05353e5745079382f.tar.bz2
Use the superclass properly
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/exceptions.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb
index b74234c35..add29a2f0 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