Remove a defensive to_s call
This method is only used internally and we always pass strings.
This commit is contained in:
parent
dc9872eb83
commit
22d1f6516f
@ -21,7 +21,7 @@ class BuildOptions
|
|||||||
end
|
end
|
||||||
|
|
||||||
def add(name, description)
|
def add(name, description)
|
||||||
description ||= case name.to_s
|
description ||= case name
|
||||||
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"
|
||||||
when "c++11" then "Build using C++11 mode"
|
when "c++11" then "Build using C++11 mode"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user