diff options
| author | Jack Nagel | 2014-08-07 00:48:13 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-08-07 00:48:13 -0500 |
| commit | bfbd224b11055584471f64bf812f72e1205e3002 (patch) | |
| tree | dbe5752f04a373830b81692efdb75da43dc2583d /Library/Homebrew | |
| parent | 0fb07a140296dfd74021622d2f0793ad7bf409aa (diff) | |
| download | homebrew-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.rb | 2 |
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" |
