aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/exceptions.rb
diff options
context:
space:
mode:
authorJack Nagel2014-09-12 21:28:25 -0500
committerJack Nagel2014-09-12 21:31:48 -0500
commitc142e4ceaf4bfdf4b21c36dadbc8303e8f472a7a (patch)
tree968cfc591d4522858ba019764120e5205d2c4307 /Library/Homebrew/exceptions.rb
parent1ae61f770b380c67d38ae2692dc8672e63ad2462 (diff)
downloadhomebrew-c142e4ceaf4bfdf4b21c36dadbc8303e8f472a7a.tar.bz2
Use the superclass properly
Diffstat (limited to 'Library/Homebrew/exceptions.rb')
-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