Spell out the empty string instead of calling to_s on nil
This commit is contained in:
parent
22d1f6516f
commit
6718bc554f
@ -25,7 +25,8 @@ class BuildOptions
|
|||||||
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"
|
||||||
end.to_s
|
else ""
|
||||||
|
end
|
||||||
|
|
||||||
@options << Option.new(name, description)
|
@options << Option.new(name, description)
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user