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#name_for
name_for(dependency)
lib/rubygems/resolver/molinillo/lib/molinillo/modules/specification_provider.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/rubygems/resolver/molinillo/lib/molinillo/modules/specification_provider.rb, line 65
def name_for(dependency)
dependency.to_s
end
Returns the name for the given dependency. @note This method should be ‘pure’, i.e. the return value should depend
only on the `dependency` parameter.
@param [Object] dependency @return [String] the name for the given dependency.