Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
Gem::Source::Lock.new
new(source)
lib/rubygems/source/lock.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/rubygems/source/lock.rb, line 18
def initialize(source)
@wrapped = source
end
Creates a new Lock source that wraps source and moves it earlier in the sort list.