Results for: "Logger"

Raises IOError if the TarWriter is closed

No documentation available

Adds a local gem requested using dep_name with the given spec that can be loaded and installed using the source.

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

Returns the path to the trusted certificate

Enumerates trusted certificates.

Returns the issuer certificate of the given certificate if it exists in the trust directory.

Add a certificate to trusted certificate list.

No documentation available
No documentation available

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

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

Like Enumerable#drop_while, 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.

Loads the given public key identified by id and data.

An EngineError is raised of the OpenSSL::PKey is unavailable.

No documentation available
No documentation available

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>
Search took: 4ms  ·  Total Results: 2090