Corresponds to $(LIBPATH) in mkmf
Path of activations from the current
list.
Return a String
indicating who caused this request to be added (only valid for implicit requests)
Returns the issuer certificate of the given certificate
if it exists in the trust directory.
Returns the path to the trusted certificate with the given ASN.1 name
Add a certificate to trusted certificate list.
Returns the base label of this frame.
Usually same as label
, without decoration.
Returns the full file path of this frame.
Same as path
, except that it will return absolute path even if the frame is in the main script.
Raises a VersionConflict
error, or any underlying error, if there is no current state @return [void]
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:
x
responds to both each and force, which means that x
is a lazy enumerator.
x
is an array or responds to to_ary.
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.