name_for(dependency)
public
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`.
# File lib/rubygems/resolver/molinillo/lib/molinillo/modules/specification_provider.rb, line 53
def name_for(dependency)
dependency.to_s
end