method

matches_spec?

ruby latest stable - Class: Gem::Dependency
matches_spec?(spec)
public

Does this dependency match spec?

NOTE: This is not a convenience method. Unlike #match? this method returns true when spec is a prerelease version even if this dependency is not a prerelease dependency.