Results for: "partition"

Create a new ConstantPathTargetNode node.

Create a new ConstantPathWriteNode node.

Create a new InterpolatedRegularExpressionNode node.

No documentation available

Returns IO instance tied to ARGF for writing if inplace mode is enabled.

Handle BasicObject instances

Return the native thread ID which is used by the Ruby thread.

The ID depends on the OS. (not POSIX thread ID returned by pthread_self(3))

NOTE: If the thread is not associated yet or already deassociated with a native thread, it returns nil. If the Ruby implementation uses M:N thread model, the ID may change depending on the timing.

Enables measuring GC time. You can get the result with GC.stat(:time). Note that GC time measurement can cause some performance overhead.

Returns the measure_total_time flag (default: true). Note that measurement can affect the application’s performance.

No documentation available

Returns a String containing the API compatibility version of Ruby

Returns the latest release version of RubyGems.

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`

def foo(…); end

^^^

-> { it } ^^^^^^^^^

(foo, bar), bar = qux ^^^^^^^^^^

foo, bar = baz ^^^^^^^^^^^^^^

/foo/ ^^^^^

Search took: 4ms  ·  Total Results: 4702