End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class method
Gem.needs
needs() { |rs| ... }
lib/rubygems.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.1.3/lib/rubygems.rb, line 218
def self.needs
rs = Gem::RequestSet.new
yield rs
finish_resolve rs
end
No documentation available
See also
.marshal_version
.open_file
.location_of_caller
.operating_system_defaults
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.0