Returns path to the extensions directory.
Indicated, based on the requested domain, if local gems should be considered.
Builds extensions. Valid types of extensions are extconf.rb files, configure scripts and rakefiles or mkrf_conf files.
Creates or an HTTP connection based on uri
, or retrieves an existing connection, using a proxy if needed.
Is this specification missing its extensions? When this returns true you probably want to build_extensions
Private setter for extensions val
.
Returns the destination encoding as an encoding object.
Returns the destination encoding as an encoding object.
Returns the destination encoding as an Encoding
object.
Consumes size bytes from the buffer
Returns a list of encodings in Content-Encoding field as an array of strings.
The encodings are downcased for canonicalization.
Produce a list of instructions compiled by YJIT
for an iseq
Invoked as a callback whenever an instance method is removed from the receiver.
module Chatty def self.method_removed(method_name) puts "Removing #{method_name.inspect}" end def self.some_class_method() end def some_instance_method() end class << self remove_method :some_class_method end remove_method :some_instance_method end
produces:
Removing :some_instance_method
Add the install/update options to the option parser.
Starts tracing object allocations.
Stop tracing object allocations.
Note that if ::trace_object_allocations_start
is called n-times, then tracing will stop after calling ::trace_object_allocations_stop
n-times.
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.
Decodes given str
of URL-encoded form data.
This decodes + to SP.
Gets X509v3 extensions as array of X509Ext objects
Sets X509_EXTENSIONs