Skip to content
On this page

End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

class · Ruby 3.1

Gem::Source::Lock

< Gem::Source 1 instance methods 1 class methods

A Lock source wraps an installed gem’s source and sorts before other sources during dependency resolution. This allows RubyGems to prefer gems from dependency lock files.

Class methods 1

Instance methods 1

Attributes
Read

The wrapped Gem::Source