Hash
with completion search feature. See OptionParser::Completion
.
Raises when switch is undefined.
Raises when the given argument does not match required format.
Here we are going to patch StringQuery
to put in the class-level methods so that it can maintain a consistent interface
Query methods that allow categorizing strings based on their context for where they could be valid in a Ruby
syntax tree.
This represents a magic comment that was encountered during parsing.
This represents a warning that was encountered during parsing.
Base class for all Gem
commands. When creating a new gem command, define initialize, execute
, arguments
, defaults_str
, description
and usage
(as appropriate). See the above mentioned methods for details.
A very good example to look at is Gem::Commands::ContentsCommand
Installs a gem along with all its dependencies from local and remote gems.
Raised when attempting to uninstall a gem that isn’t in GEM_HOME.
Raised when removing a gem with the uninstall command fails
Signals that a file permission error is preventing the user from operating on the given directory.
Used to raise parsing and loading errors