instance method
Gem::Command#arguments
arguments
lib/rubygems/command.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/rubygems/command.rb, line 258
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 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0