Adds symlink name
with permissions mode
, linking to target
.
Return an array of APISpecification objects matching DependencyRequest req
.
Finds all specs matching req
in all sets.
Path of activations from the current
list.
Return a String
indicating who caused this request to be added (only valid for implicit requests)
Finds all git gems matching req
Return an array of IndexSpecification objects matching DependencyRequest req
.
Returns an array of IndexSpecification objects matching DependencyRequest req
.
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 an Array
of VendorSpecification objects matching the DependencyRequest req
.
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
Like Enumerable#select
, but chains operation to be lazy-evaluated.
Returns the Object#object_id
of the internal object.
Loads the given private key identified by id and data.
An EngineError
is raised of the OpenSSL::PKey
is unavailable.
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>
Creates a new Socket::Option
object for IP_MULTICAST_TTL.
The size is dependent on the platform.
p Socket::Option.ipv4_multicast_ttl(10) #=> #<Socket::Option: INET IP MULTICAST_TTL 10>
Returns the ipv4_multicast_ttl
data in sockopt as an integer.
sockopt = Socket::Option.ipv4_multicast_ttl(10) p sockopt.ipv4_multicast_ttl => 10
Creates a new Socket::Option
object for IP_MULTICAST_LOOP.
The size is dependent on the platform.
sockopt = Socket::Option.int(:INET, :IPPROTO_IP, :IP_MULTICAST_LOOP, 1) p sockopt.int => 1 p Socket::Option.ipv4_multicast_loop(10) #=> #<Socket::Option: INET IP MULTICAST_LOOP 10>