Return true
if the PRNG has been seeded with enough data, false
otherwise.
The current status of GC profile mode.
Starts the GC profiler.
Returns whether the form contained multipart/form-data
Return true if MJIT
is enabled.
Stop generating JITed code.
Start generating JITed code again after pause.
Parses self
destructively and returns self
containing the rest arguments left unparsed.
Generate a random alphanumeric string.
The argument n specifies the length, in characters, of the alphanumeric string to be generated.
If n is not specified or is nil, 16 is assumed. It may be larger in the future.
The result may contain A-Z, a-z and 0-9.
require 'random/formatter' Random.alphanumeric #=> "2BuBuLf3WfSKyQbR" # or prng = Random.new prng.alphanumeric(10) #=> "i6K93NdqiH"
Simple deprecation method that deprecates name
by wrapping it up in a dummy method. It warns on each call to the dummy method telling the user of repl
(unless repl
is :none) and the year/month that it is planned to go away.
Is fetching of local and remote information enabled?
A Zlib::Inflate#inflate
wrapper
Check if YJIT
is enabled
@param [String] name @return [Object] the requirement that led to a version of a possibility
with the given name being activated.
@return [String] the name of the source of explicit dependencies, i.e.
those passed to {Resolver#resolve} directly.
@return [String] the name of the source of ‘locked’ dependencies, i.e.
those passed to {Resolver#resolve} directly as the `base`
Load extra data embed into binary format String
object.