End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class method
Gem::UnknownCommandError.new
new(unknown_command)
lib/rubygems/exceptions.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.1.3/lib/rubygems/exceptions.rb, line 16
def initialize(unknown_command)
self.class.attach_correctable
@unknown_command = unknown_command
super("Unknown command #{unknown_command}")
end
No documentation available