In Files

  • rubygems/dependency_resolver.rb

Class/Module Index [+]

Quicksearch

Gem::DependencyResolver::DependencyRequest

Used Internally. Wraps a Depedency object to also track which spec contained the Dependency.

Attributes

dependency[R]
requester[R]

Public Class Methods

new(dep, act) click to toggle source
 
               # File rubygems/dependency_resolver.rb, line 328
def initialize(dep, act)
  @dependency = dep
  @requester = act
end
            

Public Instance Methods

==(other) click to toggle source
 
               # 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
            
matches_spec?(spec) click to toggle source
 
               # File rubygems/dependency_resolver.rb, line 339
def matches_spec?(spec)
  @dependency.matches_spec? spec
end
            
name() click to toggle source
 
               # File rubygems/dependency_resolver.rb, line 335
def name
  @dependency.name
end
            
to_s() click to toggle source
 
               # File rubygems/dependency_resolver.rb, line 343
def to_s
  @dependency.to_s
end
            

Commenting is here to help enhance the documentation. For example, code samples, or clarification of the documentation.

If you have questions about Ruby or the documentation, please post to one of the Ruby mailing lists. You will get better, faster, help that way.

If you wish to post a correction of the docs, please do so, but also file bug report so that it can be corrected for the next release. Thank you.

If you want to help improve the Ruby documentation, please visit Documenting-ruby.org.

blog comments powered by Disqus