Remove default argument
This method is called in two places, always with two arguments.
This commit is contained in:
parent
acc1c35f35
commit
dc9872eb83
@ -20,7 +20,7 @@ class BuildOptions
|
|||||||
@args = other.args.dup
|
@args = other.args.dup
|
||||||
end
|
end
|
||||||
|
|
||||||
def add name, description=nil
|
def add(name, description)
|
||||||
description ||= case name.to_s
|
description ||= case name.to_s
|
||||||
when "universal" then "Build a universal binary"
|
when "universal" then "Build a universal binary"
|
||||||
when "32-bit" then "Build 32-bit only"
|
when "32-bit" then "Build 32-bit only"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user