instance method
Gem::SpecificationRecord#stubs
stubs
lib/rubygems/specification_record.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/rubygems/specification_record.rb, line 39
def stubs
@stubs ||= begin
pattern = "*.gemspec"
stubs = stubs_for_pattern(pattern, false)
@stubs_by_name = stubs.select {|s| Gem::Platform.match_spec? s }.group_by(&:name)
stubs
end
end
Returns a Gem::StubSpecification for every specification in the record