Skip to content

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)

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`.