Spell out the empty string instead of calling to_s on nil

This commit is contained in:
Jack Nagel 2014-08-07 00:48:13 -05:00
parent 22d1f6516f
commit 6718bc554f

View File

@ -25,7 +25,8 @@ class BuildOptions
when "universal" then "Build a universal binary"
when "32-bit" then "Build 32-bit only"
when "c++11" then "Build using C++11 mode"
end.to_s
else ""
end
@options << Option.new(name, description)
end