mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 05:25:34 +02:00
[rubygems/rubygems] remove useless comments from unpack_command.rb
7576c21295
This commit is contained in:
parent
46f7fac878
commit
577bc8254e
1 changed files with 0 additions and 6 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue