See Net::HTTPGenericRequest
for attributes and methods.
Net::IMAP::BodyTypeBasic
represents basic body structures of messages.
Returns the content media type name as defined in [MIME-IMB].
Returns the content subtype name as defined in [MIME-IMB].
Returns a hash that represents parameters as defined in [MIME-IMB].
Returns a string giving the content id as defined in [MIME-IMB].
Returns a string giving the content description as defined in [MIME-IMB].
Returns a string giving the content transfer encoding as defined in [MIME-IMB].
Returns a number giving the size of the body in octets.
Returns a string giving the body MD5 value as defined in [MD5].
Returns a Net::IMAP::ContentDisposition object giving the content disposition.
Returns a string or an array of strings giving the body language value as defined in [LANGUAGE-TAGS].
Returns extension data.
Returns false.
Net::IMAP::BodyTypeText
represents TEXT body structures of messages.
Returns the size of the body in text lines.
And Net::IMAP::BodyTypeText
has all fields of Net::IMAP::BodyTypeBasic
.
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
.
Net::IMAP::BodyTypeAttachment
represents attachment body structures of messages.
Returns the content media type name.
Returns nil
.
Returns a hash that represents parameters.
Returns false.
Indicates that the DNS
response was unable to be decoded.
Represents a tagged XML
element. Elements
are characterized by having children, attributes, and names, and can themselves be children.
This API is experimental, and subject to change.
parser = PullParser.new( "<a>text<b att='val'/>txet</a>" ) while parser.has_next? res = parser.next puts res[1]['att'] if res.start_tag? and res[0] == 'b' end
See the PullEvent
class for information on the content of the results. The data is identical to the arguments passed for the various events to the StreamListener
API.
Notice that:
parser = PullParser.new( "<a>BAD DOCUMENT" ) while parser.has_next? res = parser.next raise res[1] if res.error? end
Nat Price gave me some good ideas for the API.
Parses a gem.deps.rb.lock file and constructs a LockSet containing the dependencies found inside. If the lock file is missing no LockSet is constructed.
A set of gems for installation sourced from remote sources and local .gem files
Represents an installed gem. This is used for dependency resolution.
A source representing a single .gem file. This is used for installation of local gems.
An absolutely silent progress reporter.
A basic dotted progress reporter.
An absolutely silent download reporter.