Base class of errors that occur when processing GZIP files.
Raised when gzip file footer is not found.
Raised when the CRC checksum recorded in gzip file footer is not equivalent to the CRC checksum of the actual uncompressed data.
Raised when the data length recorded in the gzip file footer is not equivalent to the length of the actual uncompressed data.
CSV::Scanner receives a CSV
output, scans it and return the content. It also controls the life cycle of the object with its methods keep_start
, keep_end
, keep_back
, keep_drop
.
Uses StringScanner
(the official strscan gem). Strscan provides lexical scanning operations on a String
. We inherit its object and take advantage on the methods. For more information, please visit: ruby-doc.org/stdlib-2.6.1/libdoc/strscan/rdoc/StringScanner.html
CSV::InputsScanner receives IO
inputs, encoding and the chunk_size. It also controls the life cycle of the object with its methods keep_start
, keep_end
, keep_back
, keep_drop
.
CSV::InputsScanner.scan() tries to match with pattern at the current position. If there’s a match, the scanner advances the “scan pointer” and returns the matched string. Otherwise, the scanner returns nil.
CSV::InputsScanner.rest() returns the “rest” of the string (i.e. everything after the scan pointer). If there is no more data (eos? = true), it returns “”.
See Net::HTTPGenericRequest
for attributes and methods. See Net::HTTP
for usage examples.
See Net::HTTPGenericRequest
for attributes and methods.
See Net::HTTPGenericRequest
for attributes and methods.
Net::IMAP::BodyTypeMessage
represents MESSAGE/RFC822 body structures of messages.
Returns a Net::IMAP::Envelope giving the envelope structure.
Returns an object giving the body structure.
And Net::IMAP::BodyTypeMessage
has all methods of Net::IMAP::BodyTypeText
.
Authenticator for the “DIGEST-MD5” authentication type. See authenticate().
Superclass of IMAP
errors.
Error
raised when data is in the incorrect format.
Error
raised when a response from the server is non-parseable.
Superclass of all errors used to encapsulate “fail” responses from the server.
Error
raised upon a “NO” response from the server, indicating that the client command could not be completed successfully.
Error
raised upon a “BAD” response from the server, indicating that the client command violated the IMAP
protocol, or an internal server failure has occurred.
Error
raised upon an unknown response from the server.
Error
raised when too many flags are interned to symbols.
Indicates that the DNS
response was unable to be decoded.
Indicates that the DNS
request was unable to be encoded.
A DNS
query abstract class.