End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class method
Gem::Specification.stubs
stubs
lib/rubygems/specification.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/rubygems/specification.rb, line 816
def self.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 installed gem
See also
.reset
.stubs_for
.required_attributes
.unresolved_deps
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.1 · 3.0