Pass array to puts instead of iterating over it

This commit is contained in:
Jack Nagel 2014-07-19 23:36:01 -05:00
parent c18eea6a17
commit d2aeadb1cd

View File

@ -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