End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::CommandManager#instance
instance
lib/rubygems/command_manager.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/rubygems/command_manager.rb, line 92
def instance
self
end
Returns self. Allows a CommandManager instance to stand in for the class itself.
See also
.instance
#find_command_possibilities
#load_and_instantiate
#find_command
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.1 · 3.0