method

match?

match?(obj, version=nil, allow_prerelease=false)
public

Does this dependency match the specification described by name and version or match spec?

NOTE: Unlike #matches_spec? this method does not return true when the version is a prerelease version unless this is a prerelease dependency.