Implement the hash pattern matching interface for Result
.
Configure the character offsets field for this repository and return self.
Configure the character columns field for this repository and return self.
This is a hook to allow consumers to disable some warnings if they don’t want them to block creating the syntax tree.
Visit the string content of a particular node. This method is used to split into the various token types.
Ensures that signer
is valid for time
and was signed by the issuer
. If the issuer
is nil
no verification is performed.
Return the full path to the cached gem file matching the given name and version requirement. Returns ‘nil’ if no match.
Example:
get_path 'rake', '> 0.4' # "/usr/lib/ruby/gems/1.8/cache/rake-0.4.2.gem" get_path 'rake', '< 0.1' # nil get_path 'rak' # nil (exact name required)