Results for: "max_by"

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}]

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

(1..).lazy.filter_map { |i| i * 2 if i.even? }.first(5)
#=> [4, 8, 12, 16, 20]
No documentation available

Compile a ImaginaryNode node

Dispatch enter and leave events for ImaginaryNode nodes and continue walking the tree.

Copy a ImaginaryNode node

Visit a ImaginaryNode node.

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

Return all files in this gem that match for glob.

No documentation available
No documentation available

Prefix and suffix the program filename the same as ruby.

No documentation available

Make sure the YAML specification is properly formatted with dashes

@return true if the specs of any default gems are ‘==` to the given `spec`.

No documentation available

Creates a self-signed certificate with an issuer and subject from email, a subject alternative name of email and the given extensions for the key.

Turns email_address into an OpenSSL::X509::Name

Format a number along with a percentage over a total value

Search took: 2ms  ·  Total Results: 593