Method: LibGems::Specification#satisfies_requirement?
- Defined in:
- lib/libgems/specification.rb
#satisfies_requirement?(dependency) ⇒ Boolean
Checks if this specification meets the requirement of dependency.
627 628 629 630 |
# File 'lib/libgems/specification.rb', line 627 def satisfies_requirement?(dependency) return @name == dependency.name && dependency.requirement.satisfied_by?(@version) end |