An OpenSSL::OCSP::CertificateId
identifies a certificate to the CA so that a status check can be performed.
Passwd
is a placeholder Struct
for user database on Unix systems.
contains the short login name of the user as a String
.
contains the encrypted password of the user as a String
. an 'x'
is returned if shadow passwords are in use. An '*'
is returned if the user cannot log in using a password.
contains the integer user ID (uid) of the user.
contains the integer group ID (gid) of the user’s primary group.
contains the path to the home directory of the user as a String
.
contains the path to the login shell of the user as a String
.
contains a longer String
description of the user, such as a full name. Some Unix systems provide structured information in the gecos field, but this is system-dependent.
password change time(integer).
quota value(integer).
password age(integer).
user access class(string).
comment(string).
account expiration time(integer).
Cleared reference exception
Used internally by Fiddle::Importer
Wrapper for arrays within a struct
The base exception for JSON
errors.
This exception is raised if the required unicode support is missing on the system. Usually this means that the iconv library is not installed.
Configuration for the openssl library.
Many system’s installation of openssl library will depend on your system configuration. See the value of OpenSSL::Config::DEFAULT_CONFIG_FILE
for the location of the file for your host.
General error for openssl library configuration files. Including formatting, parsing errors, etc.
Scan scalars for built in types
Thrown when PTY::check
is called for a pid that represents a process that has exited.
Socket::AncillaryData
represents the ancillary data (control information) used by sendmsg and recvmsg system call. It contains socket family
, control message (cmsg) level
, cmsg type
and cmsg data
.
OLEProperty
is a helper class of Property with arguments, used by olegen.rb
-generated files.
WIN32OLE::Variable
objects represent OLE variable information.
WIN32OLE::Variant
objects represents OLE variant.
Win32OLE converts Ruby object into OLE variant automatically when invoking OLE methods. If OLE method requires the argument which is different from the variant by automatic conversion of Win32OLE, you can convert the specified variant type by using WIN32OLE::Variant
class.
param = WIN32OLE::Variant.new(10, WIN32OLE::VARIANT::VT_R4) oleobj.method(param)
WIN32OLE::Variant
does not support VT_RECORD variant. Use WIN32OLE::Record
class instead of WIN32OLE::Variant
if the VT_RECORD variant is needed.
Zlib::GzipWriter
is a class for writing gzipped files. GzipWriter
should be used with an instance of IO
, or IO-like, object.
Following two example generate the same result.
Zlib::GzipWriter.open('hoge.gz') do |gz| gz.write 'jugemu jugemu gokou no surikire...' end File.open('hoge.gz', 'w') do |f| gz = Zlib::GzipWriter.new(f) gz.write 'jugemu jugemu gokou no surikire...' gz.close end
To make like gzip(1) does, run following:
orig = 'hoge.txt' Zlib::GzipWriter.open('hoge.gz') do |gz| gz.mtime = File.mtime(orig) gz.orig_name = orig gz.write IO.binread(orig) end
NOTE: Due to the limitation of Ruby’s finalizer, you must explicitly close GzipWriter
objects by Zlib::GzipWriter#close
etc. Otherwise, GzipWriter
will be not able to write the gzip footer and will generate a broken gzip file.
exception to wait for reading by EAGAIN. see IO.select
.
exception to wait for reading by EWOULDBLOCK. see IO.select
.