aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/exceptions.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/exceptions.rb')
-rw-r--r--Library/Homebrew/exceptions.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb
index 66ae2b294..28b46198e 100644
--- a/Library/Homebrew/exceptions.rb
+++ b/Library/Homebrew/exceptions.rb
@@ -35,10 +35,7 @@ module Homebrew
class InstallationError < RuntimeError
attr :formula
- def initialize formula
- @formula = formula
- end
- def initialize formula, message
+ def initialize formula, message=""
super message
@formula = formula
end