Maintenance of Ruby 2.0.0 ended on February 24, 2016. Read more
Used Internally. Wraps a Depedency object to also track which spec contained the Dependency.
# File rubygems/dependency_resolver.rb, line 347
def ==(other)
case other
when Dependency
@dependency == other
when DependencyRequest
@dependency == other.dependency && @requester == other.requester
else
false
end
end
# File rubygems/dependency_resolver.rb, line 339
def matches_spec?(spec)
@dependency.matches_spec? spec
end