Pry::Slop#on

Parsed documentation:
View on GitHub
Add an Option.

objects - An Array with an optional Hash as the last element.

Examples:

  on '-u', '--username=', 'Your username'
  on :v, :verbose, 'Enable verbose mode'

Returns the created instance of Slop::Option.
Suggestions:
Please help! Open an issue on GitHub if this assessment is incorrect.