diff options
| author | Jack Nagel | 2014-09-12 21:28:25 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-09-12 21:31:48 -0500 |
| commit | 20516ee39be4b411f72a94e05353e5745079382f (patch) | |
| tree | b122849833b2deafea2f7b47e4f4bd04fdeb11d8 /Library | |
| parent | 1f3bbe64e0df2535a7dd240e05b7741d28bdf267 (diff) | |
| download | brew-20516ee39be4b411f72a94e05353e5745079382f.tar.bz2 | |
Use the superclass properly
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/exceptions.rb | 4 |
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 |
