aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/exceptions.rb
diff options
context:
space:
mode:
authorJack Nagel2014-09-12 21:26:24 -0500
committerJack Nagel2014-09-12 21:26:24 -0500
commit112c59e41d8d1957bf83d4e85e38f4da9ca2f4ff (patch)
tree560922ce75adf6498734504a9f27bc7d757ad275 /Library/Homebrew/exceptions.rb
parentfbc623376636c7211628d49ff5270dbf9a691547 (diff)
downloadhomebrew-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/exceptions.rb')
-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