Results for: "max_by"

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

Does this dependency request match spec?

NOTE: matches_spec? matches prerelease versions. See also match?

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

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
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
Search took: 3ms  ·  Total Results: 557