Close and delete the session’s PStore
file.
Fetch the filepath of the value.
Reparse the value and return the parse result.
Reparse the file and return the parse result.
Reparse the string and return the parse result.
Configure the filepath field for this repository and return self.
Tokenizes the Ruby program and returns an array of an array, which is formatted like [[lineno, column], type, token, state]
. The filename
argument is mostly ignored. By default, this method does not handle syntax errors in src
, use the raise_errors
keyword to raise a SyntaxError
for an error in src
.
require "ripper" require "pp" pp Ripper.lex("def m(a) nil end") #=> [[[1, 0], :on_kw, "def", FNAME ], [[1, 3], :on_sp, " ", FNAME ], [[1, 4], :on_ident, "m", ENDFN ], [[1, 5], :on_lparen, "(", BEG|LABEL], [[1, 6], :on_ident, "a", ARG ], [[1, 7], :on_rparen, ")", ENDFN ], [[1, 8], :on_sp, " ", BEG ], [[1, 9], :on_kw, "nil", END ], [[1, 12], :on_sp, " ", END ], [[1, 13], :on_kw, "end", END ]]
Lazily initialize the parse result.
Remove the SvcParam
with the given key
and return it.
True if the requested gem has already been installed.
When allow_prerelease
is set to true
prereleases gems are allowed to match dependencies.
Sets the remote network access for all composed sets.
Remove the oldest DependencyRequest from the list.
The file descriptor for the socket.
Whether this RR is in AliasMode.
Whether this RR is in ServiceMode.
alias $foo $bar ^^^^^^^^^^^^^^^