Results for: "module_function"

Leaves exclusive section.

Returns true if this monitor is locked by any thread

Returns true if this monitor is locked by current thread.

Counts nodes for each node type.

This method is only for MRI developers interested in performance and memory usage of Ruby programs.

It returns a hash as:

{:NODE_METHOD=>2027, :NODE_FBODY=>1927, :NODE_CFUNC=>1798, ...}

If the optional argument, result_hash, is given, it is overwritten and returned. This is intended to avoid probe effect.

Note: The contents of the returned hash is implementation defined. It may be changed in future.

This method is only expected to work with C Ruby.

Alias of GC.start

Alias of GC.start

Alias of GC.start

The path to standard location of the user’s .gemrc file.

Takes a hash as its argument. The key is a symbol or an array of symbols. These symbols correspond to method names, instance variable names, or constant names (see def_delegator). The value is the accessor to which the methods will be delegated.

Tests for the presence of an --enable-config or --disable-config option. Returns true if the enable option is given, false if the disable option is given, and the default value otherwise.

This can be useful for adding custom definitions, such as debug information.

Example:

if enable_config("debug")
   $defs.push("-DOSSL_DEBUG") unless $defs.include? "-DOSSL_DEBUG"
end

/foo/ ^^^^^

The default encoding for Ruby files is UTF-8.

Removes session from the session cache.

Return true if this spec can require file.

Add local/remote options to the command line parser.

Add the –bulk-threshold option

Add the –clear-sources option

No documentation available

Returns a URL-encoded string derived from the given string str.

The returned string:

Encoding:

In either case, the returned string has forced encoding Encoding::US_ASCII.

Related: URI.encode_uri_component (encodes ' ' as '%20').

1r ^^

No documentation available

/foo #{bar}/ ^^^^^^^^^^^^

Like Enumerable#chunk_while, but chains operation to be lazy-evaluated.

Like Enumerable#reject, but chains operation to be lazy-evaluated.

Like Enumerable#uniq, but chains operation to be lazy-evaluated.

Search took: 4ms  ·  Total Results: 3310