Results for: "partition"

foo.bar &&= baz ^^^^^^^^^^^^^^^

foo.bar ||= baz ^^^^^^^^^^^^^^^

@@foo ^^^^^

$foo ^^^^

foo += baz ^^^^^^^^^^^^^^^

foo &&= baz ^^^^^^^^^^^^^^^^

foo ||= baz ^^^^^^^^^^^^^^^^

@foo ^^^^

foo ^^^

No documentation available

Returns a new lazy enumerator with the concatenated results of running block once for every element in the lazy enumerator.

["foo", "bar"].lazy.flat_map {|i| i.each_char.lazy}.force
#=> ["f", "o", "o", "b", "a", "r"]

A value x returned by block is decomposed if either of the following conditions is true:

Otherwise, x is contained as-is in the return value.

[{a:1}, {b:2}].lazy.flat_map {|i| i}.force
#=> [{:a=>1}, {:b=>2}]

If a block is given, returns a lazy enumerator that will iterate over the given block for each element with an index, which starts from offset, and returns a lazy enumerator that yields the same values (without the index).

If a block is not given, returns a new lazy enumerator that includes the index, starting from offset.

offset

the starting index to use

See Enumerator#with_index.

No documentation available
No documentation available
No documentation available
No documentation available

Calls wait repeatedly while the given block yields a truthy value.

No documentation available
No documentation available
No documentation available

Tests bit bit in bn and returns true if set, false if not set.

No documentation available

Emit a scalar with value and tag

This method is called when some event handler is undefined. event is :on_XXX, token is the scanned token, and data is a data accumulator.

The return value of this method is passed to the next event handler (as of Enumerable#inject).

Read a REG_SZ or REG_EXPAND_SZ registry value named name.

If the value type is REG_EXPAND_SZ, environment variables are replaced. Unless the value type is REG_SZ or REG_EXPAND_SZ, TypeError is raised.

Search took: 5ms  ·  Total Results: 2857