get_all_gem_names_and_versions

get_all_gem_names_and_versions() Instance Public methods Get all [gem, version] from the command line. An argument in the form gem:ver is pull apart into the gen name and version, respectively.

get_one_gem_name

get_one_gem_name() Instance Public methods Get a single gem name from the command line. Fail if there is no gem name or if there is more than one gem name given.

get_one_optional_argument

get_one_optional_argument() Instance Public methods 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.

handle_options

handle_options(args) Instance Public methods Handle the given list of arguments by parsing them and recording the results.

handles?

handles?(args) Instance Public methods True if the command handles the given argument list.

invoke

invoke(*args) Instance Public methods Invoke the command with the given list of arguments.

invoke_with_build_args

invoke_with_build_args(args, build_args) Instance Public methods Invoke the command with the given list of normal arguments and additional build arguments.

merge_options

merge_options(new_options) Instance Public methods Merge a set of command options with the set of default options (without modifying the default option hash).

remove_option

remove_option(name) Instance Public methods Remove previously defined command-line argument name.

show_help

show_help() Instance Public methods Display the help message for the command.