Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Gem::Command#usage
usage
lib/rubygems/command.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/rubygems/command.rb, line 288
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.3 · 3.2 · 3.1 · 3.0