method

arguments

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: Command
arguments() public

Override to provide details of the arguments a command takes. It should return a left-justified string, one argument per line.

For example:

def usage
  "#{program_name} FILE [FILE ...]"
end

def arguments
  "FILE          name of file to find"
end
Show source
Register or log in to add new notes.