Results for: "remove_const"

Yields to a block and preserves the previous set of objects being printed.

Check whether the object_id id is in the current buffer of objects to be pretty printed. Used to break cycles in chains of objects to be pretty printed.

Adds the object_id id to the set of objects being pretty printed, so as to not repeat objects.

Removes an object from the set of objects being pretty printed.

Add the –key option

Add the –otp option

No documentation available

Add the –http-proxy option

Add the –source option

No documentation available

Asks the user to answer question with an answer from the given list.

Add the –platform option to the option parser.

@!visibility private Enumerates each action in the log in reverse order @yield [Action]

@return [Set<Vertex>] the vertices of {#graph} where ‘self` is an

{#ancestor?}

@param [Set<Vertex>] vertices the set to add the successors to @return [Set<Vertex>] the vertices of {#graph} where ‘self` is an

{#ancestor?}

@return [String] a string suitable for debugging

Is there a path from ‘other` to `self` following edges in the dependency graph? @return whether there is a path following edges within this {#graph}

@return [RequirementState] the current state the resolution is

operating upon

Checks if ios starts with a BOM, and then consumes it and sets the external encoding. Returns the result encoding if found, or nil. If ios is not binmode or its encoding has been set already, an exception will be raised.

File.write("bom.txt", "\u{FEFF}abc")
ios = File.open("bom.txt", "rb")
ios.set_encoding_by_bom    #=>  #<Encoding:UTF-8>

File.write("nobom.txt", "abc")
ios = File.open("nobom.txt", "rb")
ios.set_encoding_by_bom    #=>  nil
No documentation available
No documentation available

Re-composes a prime factorization and returns the product.

For the decomposition:

[[p_1, e_1], [p_2, e_2], ..., [p_n, e_n]],

it returns:

p_1**e_1 * p_2**e_2 * ... * p_n**e_n.

Parameters

pd

Array of pairs of integers. Each pair consists of a prime number – a prime factor – and a natural number – its exponent (multiplicity).

Example

Prime.int_from_prime_division([[3, 2], [5, 1]])  #=> 45
3**2 * 5                                         #=> 45

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

The index to insert activated gem paths into the $LOAD_PATH. The activated gem’s paths are inserted before site lib directory by default.

Search took: 4ms  ·  Total Results: 3444