APIdock / Ruby
/
Browse About
method

search_for

ruby latest stable - Class: Gem::Resolver::Molinillo::SpecificationProvider
search_for(dependency)
public

Search for the specifications that match the given dependency. The specifications in the returned array will be considered in reverse order, so the latest version ought to be last. @note This method should be ‘pure’, i.e. the return value should depend

only on the `dependency` parameter.

@param [Object] dependency @return [Array] the specifications that satisfy the given

`dependency`.
# File lib/rubygems/resolver/molinillo/lib/molinillo/modules/specification_provider.rb, line 19
    def search_for(dependency)
      []
    end

Related methods

  • Instance methods
  • allow_missing?
  • dependencies_for
  • name_for
  • name_for_explicit_dependency_source
  • name_for_locking_dependency_source
  • requirement_satisfied_by?
  • search_for
  • sort_dependencies
APIdock API Documentation Browser

© 2026 APIdock