aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-08-07 00:48:13 -0500
committerJack Nagel2014-08-07 00:48:13 -0500
commitdc9872eb834444664cc423a3e1ff167055ebd078 (patch)
tree1a069a519ec6047096b112dfe3b8ad3470a750a6 /Library
parentacc1c35f35fb86957d56e19988fd4aeabae57b9e (diff)
downloadbrew-dc9872eb834444664cc423a3e1ff167055ebd078.tar.bz2
Remove default argument
This method is called in two places, always with two arguments.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/build_options.rb2
1 files changed, 1 insertions, 1 deletions
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"