Results for: "minmax"

Finds all specs matching req in all sets.

Return the 2 dependency objects that conflicted

No documentation available

Does this dependency request match spec?

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

Finds all git gems matching req

Return an array of IndexSpecification objects matching DependencyRequest req.

Returns true if this gem is installable for the current platform.

Returns an array of IndexSpecification objects matching DependencyRequest req.

Returns true if this gem is installable for the current platform.

Returns an Array of IndexSpecification objects matching the DependencyRequest req.

The find_all method must be implemented. It returns all Resolver Specification objects matching the given DependencyRequest req.

Returns true if this specification is installable on this platform.

Returns an Array of VendorSpecification objects matching the DependencyRequest req.

No documentation available
No documentation available

@param [Conflict] conflict @return [Array] minimal array of requirements that would cause the passed

conflict to occur.

Iterates the given block for each element with an index, which starts from offset. If no block is given, returns a new Enumerator that includes the index, starting from offset

offset

the starting index to use

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#select, but chains operation to be lazy-evaluated.

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]

Returns the Object#object_id of the internal object.

No documentation available
No documentation available
No documentation available

Extracts addr from IPV6_PKTINFO ancillary data.

IPV6_PKTINFO is defined by RFC 3542.

addr = Addrinfo.ip("::1")
ifindex = 0
ancdata = Socket::AncillaryData.ipv6_pktinfo(addr, ifindex)
p ancdata.ipv6_pktinfo_addr #=> #<Addrinfo: ::1>
Search took: 5ms  ·  Total Results: 1816