Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
Gem::Specification.each
each() { |x| ... }
lib/rubygems/specification.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/rubygems/specification.rb, line 992
def self.each
return enum_for(:each) unless block_given?
_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.2 · 3.1 · 3.0