[rubygems/rubygems] remove useless comments from unpack_command.rb
https://github.com/rubygems/rubygems/commit/7576c21295
This commit is contained in:
parent
46f7fac878
commit
577bc8254e
@ -143,12 +143,6 @@ command help for an example.
|
|||||||
# get_path 'rake', '< 0.1' # nil
|
# get_path 'rake', '< 0.1' # nil
|
||||||
# get_path 'rak' # nil (exact name required)
|
# 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)
|
def get_path(dependency)
|
||||||
return dependency.name if /\.gem$/i.match?(dependency.name)
|
return dependency.name if /\.gem$/i.match?(dependency.name)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user