Get a single gem name from the command line. Fail if there is no gem name or if there is more than one gem name given.
Writes the file containing the arguments for building this gem’s extensions.
Returns true and prepares http response, if rdoc for the requested gem name pattern was found.
The search is based on the file system content, not on the gems metadata. This allows additional documentation folders like ‘core’ for the Ruby core documentation - just put it underneath the main doc folder.
Thanks, FakeWeb!
Creates a self-signed certificate with an issuer and subject of subject
and the given extensions
for the key
.
Corrects path
(usually returned by ‘URI.parse().path` on Windows), that comes with a leading slash.
Creates a self-signed certificate with the given number of bits
, the issuer cn
and a comment
to be stored in the certificate.
Creates a self-signed certificate with the given number of bits
, the issuer cn
and a comment
to be stored in the certificate.
Sets the close on exec flag for io
Sets the close on exec flag for io
Splits the type attribute into an array, e.g. [“text”, “xml”]