Results for: "Data"

Returns the location of the binary operator used to modify the receiver. This method is deprecated in favor of binary_operator_loc.

Returns the location of the binary operator used to modify the receiver. This method is deprecated in favor of binary_operator_loc.

Returns the location of the binary operator used to modify the receiver. This method is deprecated in favor of binary_operator_loc.

Return the byte offset of the start of the line corresponding to the given byte offset.

The line number where this location starts.

The column number in bytes where this location starts from the start of the line.

Returns a string representation of the syntax tree with the errors displayed inline.

No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available

Take a chunk of a String cut by width with escape sequences.

No documentation available
No documentation available
No documentation available

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.

Mark a command-line option as deprecated, and optionally specify a deprecation horizon.

Note that with the current implementation, every version of the option needs to be explicitly deprecated, so to deprecate an option defined as

add_option('-t', '--[no-]test', 'Set test mode') do |value, options|
  # ... stuff ...
end

you would need to explicitly add a call to ‘deprecate_option` for every version of the option you want to deprecate, like

deprecate_option('-t')
deprecate_option('--test')
deprecate_option('--no-test')

Location of RubyGems.org credentials

Is this dependency simply asking for the latest version of a gem?

Search took: 4ms  ·  Total Results: 1540