aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorJack Nagel2014-07-19 23:36:01 -0500
committerJack Nagel2014-07-19 23:36:02 -0500
commitd2aeadb1cd087081c7631622e01d8522e63e27eb (patch)
tree2f0526fc8cbfabe7e54f4a87bc7e7666637935f0 /Library/Homebrew/cmd
parentc18eea6a17b3818d70e20389c8200939a764ec8e (diff)
downloadbrew-d2aeadb1cd087081c7631622e01d8522e63e27eb.tar.bz2
Pass array to puts instead of iterating over it
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/doctor.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb
index 592f4664c..47af8d5c4 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -1118,7 +1118,7 @@ module Homebrew
checks = Checks.new
if ARGV.include? '--list-checks'
- checks.methods.grep(/^check_/).sort.each { |m| puts m }
+ puts checks.methods.grep(/^check_/).sort
exit
end