aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2014-09-12 21:26:24 -0500
committerJack Nagel2014-09-12 21:26:24 -0500
commitc85c165fe9cdd0c630eb8569b24d239aed1d5045 (patch)
tree8c6590bf5d4afd3cdbba05ed3e36ff90df35b5df
parent1ace6f147df05b47034c33f65370c50903bcd2d2 (diff)
downloadbrew-c85c165fe9cdd0c630eb8569b24d239aed1d5045.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.
-rw-r--r--Library/Homebrew/exceptions.rb2
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