End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::Resolver::Molinillo::SpecificationProvider#dependencies_for
dependencies_for(specification)
lib/rubygems/resolver/molinillo/lib/molinillo/modules/specification_provider.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.1.3/lib/rubygems/resolver/molinillo/lib/molinillo/modules/specification_provider.rb, line 31
def dependencies_for(specification)
[]
end
Returns the dependencies of specification. @note This method should be ‘pure’, i.e. the return value should depend
only on the `specification` parameter.
@param [Object] specification @return [Array<Object>] the dependencies that are required by the given
`specification`.
See also
#dependencies_equal?
#name_for
#allow_missing?
#name_for_explicit_dependency_source
also in
3.2 · 3.0