Creates a self-signed certificate with an issuer and subject from email
, a subject alternative name of email
and the given extensions
for the key
.
Asks for a password with a prompt
Add the –platform option to the option parser.
Simple wrapper for providing basic authentication for a proxied request. When called with a request req
, response res
, authentication realm
and block
the block will be called with a username
and password
. If the block returns true the request is allowed to continue, otherwise an HTTPStatus::ProxyAuthenticationRequired error is raised.
Loads Apache-compatible mime.types in file
.
Loads Apache-compatible mime.types in file
.
Parses a Range
header value ranges_specifier
Parses a Range
header value ranges_specifier
@return [Array<Object>] all of the requirements that required
this vertex
@return [RequirementState] the current state the resolution is
operating upon
(see Gem::Resolver::Molinillo::ResolutionState#requirements)
(see Gem::Resolver::Molinillo::ResolutionState#activated)
(see Gem::Resolver::Molinillo::ResolutionState#requirement)
(see Gem::Resolver::Molinillo::ResolutionState#depth)
Defines the callback of event. If you want modify argument in callback, you could use this method instead of WIN32OLE_EVENT#on_event
.
ie = WIN32OLE.new('InternetExplorer.Application') ev = WIN32OLE_EVENT.new(ie) ev.on_event_with_outargs('BeforeNavigate2') {|*args| args.last[6] = true }
Re-composes a prime factorization and returns the product.
pd
Array of pairs of integers. The each internal pair consists of a prime number – a prime factor – and a natural number – an exponent.
For [[p_1, e_1], [p_2, e_2], ...., [p_n, e_n]]
, it returns:
p_1**e_1 * p_2**e_2 * .... * p_n**e_n. Prime.int_from_prime_division([[2,2], [3,1]]) #=> 12
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.
Clear recorded tracing information.
Sets the curve parameters. generator
must be an instance of EC::Point
that is on the curve. order
and cofactor
are integers.
See the OpenSSL
documentation for EC_GROUP_set_generator()
Returns whether any of the following are true:
There are any authors in the feed
If the parent element has an author and the check_parent
parameter was given.
There is a source element that has an author