mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[rubygems/rubygems] Remove misleading comment
That line means that the class supports both `URI`'s and `String`'s being passed to `initialize`. I don't see how that's related to 1.8. https://github.com/rubygems/rubygems/commit/77aeff4515
This commit is contained in:
parent
7e1e60b044
commit
7f8f33ebb9
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ class Gem::Resolver::APISet < Gem::Resolver::Set
|
|||
def initialize(dep_uri = 'https://rubygems.org/api/v1/dependencies')
|
||||
super()
|
||||
|
||||
dep_uri = URI dep_uri unless URI === dep_uri # for ruby 1.8
|
||||
dep_uri = URI dep_uri unless URI === dep_uri
|
||||
|
||||
@dep_uri = dep_uri
|
||||
@uri = dep_uri + '../..'
|
||||
|
|
Loading…
Add table
Reference in a new issue