diff options
| author | Jack Nagel | 2013-06-12 14:48:16 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-06-12 14:48:16 -0500 |
| commit | cf37904f84ab2971c3b6449ed0bcaddbe04c7418 (patch) | |
| tree | f375ded427879777bbe35c4e7d6164bcf781cdc4 /Library | |
| parent | bceae883c7ca5785cb67aea21d8fabf2e9a309e3 (diff) | |
| download | homebrew-cf37904f84ab2971c3b6449ed0bcaddbe04c7418.tar.bz2 | |
Rename method
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/search.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/search.rb b/Library/Homebrew/cmd/search.rb index 85022888b..b5942298e 100644 --- a/Library/Homebrew/cmd/search.rb +++ b/Library/Homebrew/cmd/search.rb @@ -14,7 +14,7 @@ module Homebrew extend self else query = ARGV.first rx = query_regexp(query) - search_results = search_brews rx + search_results = search_formulae rx puts_columns search_results if not query.to_s.empty? and $stdout.tty? and msg = blacklisted?(query) @@ -80,7 +80,7 @@ module Homebrew extend self results end - def search_brews rx + def search_formulae rx if rx.to_s.empty? Formula.names else |
