Remove a defensive to_s call

This method is only used internally and we always pass strings.
This commit is contained in:
Jack Nagel 2014-08-07 00:48:13 -05:00
parent dc9872eb83
commit 22d1f6516f

View File

@ -21,7 +21,7 @@ class BuildOptions
end
def add(name, description)
description ||= case name.to_s
description ||= case name
when "universal" then "Build a universal binary"
when "32-bit" then "Build 32-bit only"
when "c++11" then "Build using C++11 mode"