From 112c59e41d8d1957bf83d4e85e38f4da9ca2f4ff Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 12 Sep 2014 21:26:24 -0500 Subject: 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. --- Library/Homebrew/exceptions.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') 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 -- cgit v1.2.3