Results for: "module_function"

Create a new ConstantTargetNode node.

Create a new ConstantWriteNode node.

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

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

A shareable constant.

class << self; end ^^^^^^^^^^^^^^^^^^

__ENCODING__ ^^^^^^^^^^^^

No documentation available
No documentation available

unless foo; bar end ^^^^^^^^^^^^^^^^^^^

bar unless foo ^^^^^^^^^^^^^^

Returns the set of targets for a MultiTargetNode or a MultiWriteNode.

unless foo; bar end ^^^^^^^^^^^^^^^^^^^

bar unless foo ^^^^^^^^^^^^^^

If the stream begins with a BOM (byte order marker), consumes the BOM and sets the external encoding accordingly; returns the result encoding if found, or nil otherwise:

File.write('t.tmp', "\u{FEFF}abc")
io = File.open('t.tmp', 'rb')
io.set_encoding_by_bom # => #<Encoding:UTF-8>
io.close

File.write('t.tmp', 'abc')
io = File.open('t.tmp', 'rb')
io.set_encoding_by_bom # => nil
io.close

Raises an exception if the stream is not binmode or its encoding has already been set.

Sets the encoding according to the BOM (Byte Order Mark) in the string.

Returns self if the BOM is found, otherwise +nil.

MRI specific feature

Return all reachable objects from root.

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.

Find an unresolved Gem::Specification of default gem from path

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

The given string is first encoded as Encoding::ASCII-8BIT (using String#b), then decoded (as below), and finally force-encoded to the given encoding enc.

The returned string:

Related: URI.decode_uri_component (preserves '+').

def foo(bar: baz); end

^^^^^^^^

def foo(bar: baz); end

^^^^^^^^

foo => ^(bar)

^^^^^^

foo => ^(bar)

^^^^^^

Full name of the tar entry

Compile a InstanceVariableAndWriteNode node

Compile a InstanceVariableOperatorWriteNode node

Search took: 5ms  ·  Total Results: 5441