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#arguments
arguments
lib/rubygems/command.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.1.3/lib/rubygems/command.rb, line 255
def arguments
""
end
Override to provide details of the arguments a command takes. It should return a left-justified string, one argument per line.
For example:
Example
def usage "#{program_name} FILE [FILE ...]" end def arguments "FILE name of file to find" end
See also
#add_parser_run_info
#begins?
#add_option
#check_deprecated_options
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.0