spec()
Fetches a Gem::Specification for this APISpecification.
# File lib/rubygems/resolver/api_specification.rb, line 71 def spec # :nodoc: @spec ||= begin tuple = Gem::NameTuple.new @name, @version, @platform source.fetch_spec tuple end end