Tests for the presence of an --enable-
config or --disable-
config option. Returns true
if the enable option is given, false
if the disable option is given, and the default value otherwise.
This can be useful for adding custom definitions, such as debug information.
Example:
if enable_config("debug") $defs.push("-DOSSL_DEBUG") unless $defs.include? "-DOSSL_DEBUG" end
The path to standard location of the user’s .gemrc file.
Removes session from the session cache.
Delete tuples which dead tuples from the TupleBag
, returning the deleted tuples.
Return true if this spec can require file
.
State
Transition Table Serialization
Add local/remote options to the command line parser.
Add the –bulk-threshold option
Add the –clear-sources option
Check if rb_yjit_trace_exit_locations_enabled_p is enabled.
Encodes given str
to URL-encoded form data.
This method doesn’t convert *, -, ., 0-9, A-Z, _, a-z, but does convert SP (ASCII space) to + and converts others to %XX.
If enc
is given, convert str
to the encoding before percent encoding.
This is an implementation of www.w3.org/TR/2013/CR-html5-20130806/forms.html#url-encoded-form-data.
Like Enumerable#chunk_while
, but chains operation to be lazy-evaluated.