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.
Return all files in this gem that match for glob
.
Check state file is writable. Creates empty file if not present to ensure we can write to it.
Reads time of last update check from state file
Writes time of last update check to state file
Creates windows .bat files for easy running of commands
Creates the scripts to run the applications in the gem.
Creates the symlinks to run the applications in the gem. Moves the symlink if the gem being installed has a newer version.
Adds a development dependency named gem
with requirements
to this gem.
Usage:
spec.add_development_dependency 'example', '~> 1.1', '>= 1.1.4'
Development dependencies aren’t installed by default and aren’t activated when a gem is required.
Return the latest installed spec for gem name
.
Specification
attributes that must be non-nil
Make sure the YAML
specification is properly formatted with dashes
Finds all gems that satisfy dep
Implementation for Specification#validate_for_resolution