aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorJack Nagel2014-08-07 00:48:13 -0500
committerJack Nagel2014-08-07 00:48:13 -0500
commitbfbd224b11055584471f64bf812f72e1205e3002 (patch)
treedbe5752f04a373830b81692efdb75da43dc2583d /Library/Homebrew
parent0fb07a140296dfd74021622d2f0793ad7bf409aa (diff)
downloadhomebrew-bfbd224b11055584471f64bf812f72e1205e3002.tar.bz2
Remove a defensive to_s call
This method is only used internally and we always pass strings.
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/build_options.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/build_options.rb b/Library/Homebrew/build_options.rb
index 88c5d079b..014cfc42a 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"