End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::Command#usage
usage
lib/rubygems/command.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/rubygems/command.rb, line 285
def usage
program_name
end
Override to display the usage for an individual gem command.
The text “[options]” is automatically appended to the usage text.
See also
#show_lookup_failure
#when_invoked
#show_help
#wrap
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.1