Results for: "Pathname"

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

Occasionally it’s helpful to treat a string as if it were interpolated so that there’s a consistent interface for working with strings.

Occasionally it’s helpful to treat a string as if it were interpolated so that there’s a consistent interface for working with strings.

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.

These are the comments that are associated with this location that exist before the start of this location.

Attach a comment to the leading comments of this location.

These are the comments that are associated with this location that exist after the end of this location.

Attach a comment to the trailing comments of this location.

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

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')

Merge a set of command options with the set of default options (without modifying the default option hash).

Handle the command arguments.

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

No documentation available

Does this dependency match spec?

NOTE: This is not a convenience method. Unlike match? this method returns true when spec is a prerelease version even if this dependency is not a prerelease dependency.

No documentation available
No documentation available
No documentation available

append a platform to the list of mismatched platforms.

Platforms are added via this instead of injected via the constructor so that we can loop over a list of mismatches and just add them rather than perform some kind of calculation mismatch summary before creation.

No documentation available
No documentation available
No documentation available

Defaults to use Ruby’s program prefix and suffix.

Search took: 5ms  ·  Total Results: 2296