show_lookup_failure(gem_name, version, errors, domain) Instance Public methods Display to the user that a gem couldn't be found and reasons why
usage() Instance Public methods Override to display the usage for an individual gem command. The text â[options]â is automatically appended to the usage text.
when_invoked(&block) Instance Public methods Call the given block when invoked. Normal command invocations just executes the execute method of the command. Specifying an invocation block allows the test methods to override the normal action of a command to determine that it has been invoked correctly.
wrap(text, width) Instance Private methods Wraps text to width
instance() Class Public methods Return the authoritative instance of the command manager.
new() Class Public methods Register all the subcommands supported by the gem command.
reset() Class Public methods Reset the authoritative instance of the command manager.
[](command_name) Instance Public methods Returns a Command instance for command_name
command_names() Instance Public methods Return a sorted list of all command names as strings.
find_command(cmd_name) Instance Public methods
Page 284 of 11844