method

match?

Importance_0
v1_9_3_125 - Show latest stable - 0 notes - Class: Dependency
match?(name, version) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rubygems/dependency.rb, line 182
  def match? name, version
    return false unless self.name === name
    return true if requirement.none?

    requirement.satisfied_by? Gem::Version.new(version)
  end
Register or log in to add new notes.