summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwycats <wycats@gmail.com>2010-07-16 17:50:31 -0500
committerwycats <wycats@gmail.com>2010-07-16 17:50:31 -0500
commit6b15a06577d5bce78ea717d56c6609265e122c3f (patch)
tree3092c7caa7e98f248bf0e19131c6c88383b1ad0b
parent6eea98ae469dfff63334e93299413d4fe07a19f9 (diff)
downloadbundler-6b15a06577d5bce78ea717d56c6609265e122c3f.tar.gz
Hide methods using :hide => true
-rw-r--r--lib/bundler/cli.rb9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb
index 786f9eb391..3e4274fdd5 100644
--- a/lib/bundler/cli.rb
+++ b/lib/bundler/cli.rb
@@ -172,7 +172,7 @@ module Bundler
end
map %w(list) => "show"
- desc "cache", "Cache all the gems to vendor/cache"
+ desc "cache", "Cache all the gems to vendor/cache", :hide => true
method_option "no-prune", :type => :boolean, :banner => "Don't remove stale gems from the cache."
def cache
Bundler.load.cache
@@ -302,12 +302,5 @@ module Bundler
end
spec.full_gem_path
end
-
- def self.printable_tasks
- tasks = super.dup
- nodoc = /^bundle (cache)/
- tasks.reject!{|t| t.first =~ nodoc }
- tasks
- end
end
end