Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
Gem.needs
() { (::Gem::RequestSet) -> void } -> void
needs() { |rs| ... }
lib/rubygems.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/rubygems.rb, line 215
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
.open_file_with_flock
also in
4.1 · 4.0 · 3.3 · 3.2 · 3.1 · 3.0