diff options
| author | Jack Nagel | 2014-09-12 21:26:24 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-09-12 21:26:24 -0500 |
| commit | 112c59e41d8d1957bf83d4e85e38f4da9ca2f4ff (patch) | |
| tree | 560922ce75adf6498734504a9f27bc7d757ad275 /Library/Homebrew | |
| parent | fbc623376636c7211628d49ff5270dbf9a691547 (diff) | |
| download | homebrew-112c59e41d8d1957bf83d4e85e38f4da9ca2f4ff.tar.bz2 | |
Remove default argument from Homebrew::InstallationError
This class is never instantiated directly, and all subclasses
initializers have different signatures and do not rely on this.
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/exceptions.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb index a45a5de77..9cb0fcb9c 100644 --- a/Library/Homebrew/exceptions.rb +++ b/Library/Homebrew/exceptions.rb @@ -83,7 +83,7 @@ module Homebrew class InstallationError < RuntimeError attr_reader :formula - def initialize formula, message="" + def initialize(formula, message) super message @formula = formula end |
