method

match?

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: Dependency
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.

Show source
Register or log in to add new notes.