Results for: "max_by"

No documentation available
No documentation available

Returns the size of memory allocated by malloc().

Only available if ruby was built with CALC_EXACT_MALLOC_SIZE.

No documentation available

Deduce Ruby’s –program-prefix and –program-suffix from its install name

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

Returns true if there is a comma between the two locations.

Returns true if other is a subdomain.

Example:

domain = Resolv::DNS::Name.create("y.z")
p Resolv::DNS::Name.create("w.x.y.z").subdomain_of?(domain) #=> true
p Resolv::DNS::Name.create("x.y.z").subdomain_of?(domain) #=> true
p Resolv::DNS::Name.create("y.z").subdomain_of?(domain) #=> false
p Resolv::DNS::Name.create("z").subdomain_of?(domain) #=> false
p Resolv::DNS::Name.create("x.y.z.").subdomain_of?(domain) #=> false
p Resolv::DNS::Name.create("w.z").subdomain_of?(domain) #=> false
No documentation available
No documentation available
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]

Compile a ImaginaryNode node

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

Inspect a ImaginaryNode node.

Search took: 3ms  ·  Total Results: 596