method

matches_spec?

Importance_0
v1_9_3_392 - Show latest stable - 0 notes - Class: Dependency
matches_spec?(spec) 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 189
  def matches_spec? spec
    return false unless name === spec.name
    return true  if requirement.none?

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