Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Gem::AvailableSet#each_spec
each_spec() { |spec| ... }
lib/rubygems/available_set.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/rubygems/available_set.rb, line 60
def each_spec
return enum_for __method__ unless block_given?
each do |tuple|
yield tuple.spec
end
end
Yields the Gem::Specification for each Tuple in this AvailableSet