From 6718bc554f090630491e8ec2fe072c538d90592a Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Thu, 7 Aug 2014 00:48:13 -0500 Subject: [PATCH] Spell out the empty string instead of calling to_s on nil --- Library/Homebrew/build_options.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/build_options.rb b/Library/Homebrew/build_options.rb index 014cfc42ae..8ea3217720 100644 --- a/Library/Homebrew/build_options.rb +++ b/Library/Homebrew/build_options.rb @@ -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