diff options
author | wycats <wycats@gmail.com> | 2010-07-16 17:50:31 -0500 |
---|---|---|
committer | wycats <wycats@gmail.com> | 2010-07-16 17:50:31 -0500 |
commit | 6b15a06577d5bce78ea717d56c6609265e122c3f (patch) | |
tree | 3092c7caa7e98f248bf0e19131c6c88383b1ad0b | |
parent | 6eea98ae469dfff63334e93299413d4fe07a19f9 (diff) | |
download | bundler-6b15a06577d5bce78ea717d56c6609265e122c3f.tar.gz |
Hide methods using :hide => true
-rw-r--r-- | lib/bundler/cli.rb | 9 |
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 |