Returns the challenge string associated with this SPKI
.
str - the challenge string to be set for this instance
Sets the challenge to be associated with the SPKI
. May be used by the server, e.g. to prevent replay.
Clean up messages so they’re nice and pretty.
Close and delete the session’s FileStore
file.
Delete the session state.
Close and delete the session’s PStore
file.
True if the requested gem has already been installed.
When allow_prerelease
is set to true
prereleases gems are allowed to match dependencies.
Sets the remote network access for all composed sets.
Remove the oldest DependencyRequest from the list.
Get the machine code for YJIT::Block
as a binary string
The file descriptor for the socket.
If object
is an Array object, returns object
.
Otherwise if object
responds to :to_ary
, calls object.to_ary
and returns the result.
Returns nil
if object
does not respond to :to_ary
Raises an exception unless object.to_ary
returns an Array object.
Replaces the content of self
with the content of other_array
; returns self
:
a = [:foo, 'bar', 2] a.replace(['foo', :bar, 3]) # => ["foo", :bar, 3]