Returns the version of the latest release-version of gem name
The default signing certificate chain path
Default options for gem commands for Ruby
packagers.
The options here should be structured as an array of string “gem” command names as keys and a string of the default options as values.
Example:
def self.operating_system_defaults
{ 'install' => '--no-rdoc --no-ri --env-shebang', 'update' => '--no-rdoc --no-ri --env-shebang' }
end
Mirror the Prism.parse_file_comments
API by using the serialization API. This uses native strings instead of Ruby
strings because it allows us to use mmap when it is available.
Mirror the Prism.parse_lex_file
API by using the serialization API.
Mirror the Prism.parse_file_success?
API by using the serialization API.
Mirror the Prism.parse_file_failure?
API by using the serialization API.
SyntaxSuggest.use_prism_parser?
[Private]
Tells us if the prism parser is available for use or if we should fallback to ‘Ripper`
-> { it } ^^^^^^^^^
(foo, bar), bar = qux ^^^^^^^^^^
foo, bar = baz ^^^^^^^^^^^^^^
def foo(bar: baz); end
^^^^^^^^
Create parser string nodes from a single prism node. The parser gem “glues” strings together when a line continuation is encountered.
def foo(bar: baz); end
^^^^^^^^
Visit a constant path that is part of a write node.
Called with encoding
when the YAML
stream starts. This method is called once per stream. A stream may contain multiple documents.
See the constants in Psych::Parser
for the possible values of encoding
.