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.each
each() { |x| ... }
lib/rubygems/specification.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/rubygems/specification.rb, line 986
def self.each
return enum_for(:each) unless block_given?
self._all.each do |x|
yield x
end
end
Enumerate every known spec. See ::dirs= and ::add_spec to set the list of specs.
See also
.dirs=
.find_active_stub_by_path
.dirs
.find_all_by_full_name
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.1 · 3.0