Returns the list of parts for the full name of this constant. For example: [:Foo]
Returns the list of parts for the full name of this constant path. For example: [:Foo, :Bar]
Returns the list of parts for the full name of this constant path. For example: [:Foo, :Bar]
Returns the list of parts for the full name of this constant. For example: [:Foo]
When a call node has the attribute_write flag set, it means that the call is using the attribute write syntax. This is either a method call to []= or a method call to a method that ends with =. Either way, the = sign is present in the source.
Prism
returns the message_loc without the = sign attached, because there can be any amount of space between the message and the = sign. However, sometimes you want the location of the full message including the inner space and the = sign. This method provides that.
Replace the value of start_line
with the given value.
The character offset from the beginning of the source where this location starts.
The content of the line where this location starts before this location.
The column number in characters where this location ends from the start of the line.
Compile a name associated with a constant.
Return true if this spec can require file
.
The full path to the gem (install path + full name).
TODO: This is duplicated with gem_dir
. Eventually either of them should be deprecated.
Full paths in the gem to add to $LOAD_PATH
when this gem is activated.
Checks the permissions of the credentials file. If they are not 0600 an error message is displayed and RubyGems aborts.
The name of the state file.
Make sure the YAML
specification is properly formatted with dashes
Expire memoized instance variables that can incorrectly generate, replace or miss files due changes in certain attributes used to compute them.
Implementation for Specification#validate_for_resolution