Remove the +~/.gem/credentials+ file to clear all the current sessions.
Check state file is writable. Creates empty file if not present to ensure we can write to it.
The name of the state file.
Reads time of last update check from state file
Writes time of last update check to state file
return the stub script text used to launch the true Ruby script
Return the latest installed spec for gem name
.
Specification
attributes that must be non-nil
Choose from a list of options. question
is a prompt displayed above the list. list
is a list of option strings. Returns the pair [option_name, option_index].
Tells ‘scan_while` to look for mismatched keyword/end-s
When scanning up, if we see more keywords then end-s it will stop. This might happen when scanning outside of a method body. the first scan line up would be a keyword and this setting would trigger a stop.
When scanning down, stop if there are more end-s than keywords.
Comes from ripper, called on every parse error, msg is a string
Returns the source encoding name as a string.
Returns the source encoding name as a string.