Return the character offset for the given byte offset.
Return the column number in characters for the given byte offset.
Implement the hash pattern matching interface for Location
.
Implement the hash pattern matching interface for Comment
.
Implement the hash pattern matching interface for MagicComment
.
Implement the hash pattern matching interface for ParseError
.
Implement the hash pattern matching interface for ParseWarning
.
Implement the hash pattern matching interface for Result
.
Implement the hash pattern matching interface for ParseResult
.
Walk the tree and mark nodes that are on a new line, loosely emulating the behavior of CRuby’s :line
tracepoint event.
Implement the hash pattern matching interface for LexResult
.
Implement the hash pattern matching interface for ParseLexResult
.
Implement the hash pattern matching interface for Token
.
Full path of the target library file. If the file is not in this gem, return nil.
Paths in the gem to add to $LOAD_PATH
when this gem is activated.
See also require_paths=
If you have an extension you do not need to add "ext"
to the require path, the extension build process will copy the extension files into “lib” for you.
The default value is "lib"
Usage:
# If all library files are in the root directory... spec.require_path = '.'
Returns the paths to the source files for use with analysis and documentation tools. These paths are relative to full_gem_path.
Arguments used when building gems
Handle the command arguments.
Indicated, based on the requested domain, if local gems should be considered.
Indicated, based on the requested domain, if remote gems should be considered.
Are we doctoring a gem repository?