From 0fb07a140296dfd74021622d2f0793ad7bf409aa Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Thu, 7 Aug 2014 00:48:13 -0500 Subject: Remove default argument This method is called in two places, always with two arguments. --- Library/Homebrew/build_options.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Homebrew') diff --git a/Library/Homebrew/build_options.rb b/Library/Homebrew/build_options.rb index 07f12ab11..88c5d079b 100644 --- a/Library/Homebrew/build_options.rb +++ b/Library/Homebrew/build_options.rb @@ -20,7 +20,7 @@ class BuildOptions @args = other.args.dup end - def add name, description=nil + def add(name, description) description ||= case name.to_s when "universal" then "Build a universal binary" when "32-bit" then "Build 32-bit only" -- cgit v1.2.3