From 22d1f6516f977520ed67601ffde2bfecea746757 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Thu, 7 Aug 2014 00:48:13 -0500 Subject: [PATCH] Remove a defensive to_s call This method is only used internally and we always pass strings. --- Library/Homebrew/build_options.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/build_options.rb b/Library/Homebrew/build_options.rb index 88c5d079b8..014cfc42ae 100644 --- a/Library/Homebrew/build_options.rb +++ b/Library/Homebrew/build_options.rb @@ -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"