Find
a Gem::Specification
of default gem from path
Finds the user’s config file
Securely removes the entry given by path
, which should be the entry for a regular file, a symbolic link, or a directory.
Argument path
should be interpretable as a path.
Avoids a local vulnerability that can exist in certain circumstances; see Avoiding the TOCTTOU Vulnerability.
Optional argument force
specifies whether to ignore raised exceptions of StandardError
and its descendants.
Related: methods for deleting.
Securely removes the entry given by path
, which should be the entry for a regular file, a symbolic link, or a directory.
Argument path
should be interpretable as a path.
Avoids a local vulnerability that can exist in certain circumstances; see Avoiding the TOCTTOU Vulnerability.
Optional argument force
specifies whether to ignore raised exceptions of StandardError
and its descendants.
Related: methods for deleting.
Like URI.encode_www_form_component
, except that ' '
(space) is encoded as '%20'
(instead of '+'
).
Like URI.decode_www_form_component
, except that '+'
is preserved.
SyntaxSuggest.use_prism_parser?
[Private]
Tells us if the prism parser is available for use or if we should fallback to ‘Ripper`
@@foo += bar ^^^^^^^^^^^^
@@foo &&= bar ^^^^^^^^^^^^^
@@foo ||= bar ^^^^^^^^^^^^^
Visit a constant path that is part of a write node.
Foo::Bar += baz ^^^^^^^^^^^^^^^
Foo::Bar &&= baz ^^^^^^^^^^^^^^^^
Foo::Bar ||= baz ^^^^^^^^^^^^^^^^
$foo += bar ^^^^^^^^^^^
$foo &&= bar ^^^^^^^^^^^^
$foo ||= bar ^^^^^^^^^^^^
foo += bar ^^^^^^^^^^
foo &&= bar ^^^^^^^^^^^
foo ||= bar ^^^^^^^^^^^
Returns the string that is used to indent levels in the JSON
text.
Sets the string that is used to indent levels in the JSON
text.