summaryrefslogtreecommitdiff
path: root/lib/rubygems/commands
diff options
context:
space:
mode:
authorhyuraku <[email protected]>2024-01-01 18:36:58 +0900
committergit <[email protected]>2024-01-04 00:39:54 +0000
commit577bc8254e04efa7968d8a3c1bc7fcf1e9eabb91 (patch)
tree7d9073e93d2eec0b84381194f062193fe96f256b /lib/rubygems/commands
parent46f7fac878540fd555b502a2c5a5b5e2a6c7413f (diff)
[rubygems/rubygems] remove useless comments from unpack_command.rb
https://github.com/rubygems/rubygems/commit/7576c21295
Diffstat (limited to 'lib/rubygems/commands')
-rw-r--r--lib/rubygems/commands/unpack_command.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/rubygems/commands/unpack_command.rb b/lib/rubygems/commands/unpack_command.rb
index f25c045c62..c2fc720297 100644
--- a/lib/rubygems/commands/unpack_command.rb
+++ b/lib/rubygems/commands/unpack_command.rb
@@ -143,12 +143,6 @@ command help for an example.
# get_path 'rake', '< 0.1' # nil
# get_path 'rak' # nil (exact name required)
#--
- # TODO: This should be refactored so that it's a general service. I don't
- # think any of our existing classes are the right place though. Just maybe
- # 'Cache'?
- #
- # TODO: It just uses Gem.dir for now. What's an easy way to get the list of
- # source directories?
def get_path(dependency)
return dependency.name if /\.gem$/i.match?(dependency.name)