aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/untap.rb
diff options
context:
space:
mode:
authorMisty De Meo2013-04-02 16:28:46 -0500
committerMisty De Meo2013-04-02 16:28:46 -0500
commit22f2f6aed3dd7da7d9443edeb7ae99fb91bade67 (patch)
tree056b9057c590e224c7604d48ada2ba1ec0d92ff6 /Library/Homebrew/cmd/untap.rb
parentd13a39d1ac6b185569db6aa04eddbbf7d6ca4c3c (diff)
downloadbrew-22f2f6aed3dd7da7d9443edeb7ae99fb91bade67.tar.bz2
tap/untap: use Array#length, not #count
Array#count was apparently introduced in 1.8.7.
Diffstat (limited to 'Library/Homebrew/cmd/untap.rb')
-rw-r--r--Library/Homebrew/cmd/untap.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/untap.rb b/Library/Homebrew/cmd/untap.rb
index abfa6df22..77e8f8688 100644
--- a/Library/Homebrew/cmd/untap.rb
+++ b/Library/Homebrew/cmd/untap.rb
@@ -21,7 +21,7 @@ module Homebrew extend self
tapd.find_formula{ |file| files << Pathname.new("#{user}-#{repo}").join(file) }
unlink_tap_formula(files)
rm_rf tapd
- puts "Untapped #{files.count} formula"
+ puts "Untapped #{files.length} formula"
end
def unlink_tap_formula formulae