Skip to content

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

instance method

Gem::Command#usage

usage

Override to display the usage for an individual gem command.

The text “[options]” is automatically appended to the usage text.