Skip to content

End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

instance method

Gem::Resolver::Molinillo::SpecificationProvider#requirement_satisfied_by?

requirement_satisfied_by?(requirement, activated, spec)

Determines whether the given requirement is satisfied by the given spec, in the context of the current activated dependency graph.

@param [Object] requirement @param [DependencyGraph] activated the current dependency graph in the

resolution process.

@param [Object] spec @return [Boolean] whether requirement is satisfied by spec in the

context of the current `activated` dependency graph.