method
get_one_optional_argument
v2_4_6 -
Show latest stable
- Class:
Gem::Command
get_one_optional_argument()public
Get a single optional argument from the command line. If more than one argument is given, return only the first. Return nil if none are given.