Results for: "Logger"

Open the specified filename (either in read-only mode or in read-write mode) and lock it for reading or writing.

The opened File object will be returned. If read_only is true, and the file does not exist, then nil will be returned.

All exceptions are propagated.

Returns the last win32 socket Error of the current executing Thread or nil if none

Sets the last win32 socket Error of the current executing Thread to error

Starts tracing object allocations.

Stop tracing object allocations.

Note that if ::trace_object_allocations_start is called n-times, then tracing will stop after calling ::trace_object_allocations_stop n-times.

Clear recorded tracing information.

Quietly ensure the Gem directory dir contains all the proper subdirectories for handling default gems. If we can’t create a directory due to a permission problem, then we will silently continue.

If mode is given, missing directories are created with this mode.

World-writable directories will never be created.

Add a list of paths to the $LOAD_PATH at the proper place.

Open a file with given flags, and protect access with flock

SyntaxSuggest.module_for_detailed_message [Private]

Used to monkeypatch SyntaxError via Module.prepend

Returns true, if NaN, Infinity, and -Infinity should be generated, otherwise returns false.

See the OpenSSL documentation for i2d_ECPKParameters_bio()

Initialize a new compiler with the given option overrides, used to visit a subtree with the given options.

Negate the value of a numeric node. This is a special case where you have a negative sign on one line and then a number on the next line. In normal Ruby, this will always be a method call. The parser gem, however, marks this as a numeric literal. We have to massage the tree here to get it into the correct form.

Constructs a new source range from the given start and end offsets.

Constructs a new source range by finding the given tokens between the given start offset and end offset. If the needle is not found, it returns nil. Importantly it does not search past newlines or comments.

Note that end_offset is allowed to be nil, in which case this will search until the end of the string.

Visit a block node on a call.

Visit a heredoc that can be either a string or an xstring.

Visit a numeric node and account for the optional sign.

Within the given block, track that we’re within a pattern.

Parse a float from the string representation.

Create a new compiler with the given options.

Visit a block node, which will modify the AST by wrapping the given visited node in an iter node.

No documentation available
No documentation available
Search took: 3ms  ·  Total Results: 2278