Results for: "module_function"

No documentation available
No documentation available

Provides information about specifcations and dependencies to the resolver, allowing the {Resolver} class to remain generic while still providing power and flexibility.

This module contains the methods that users of Gem::Resolver::Molinillo must to implement, using knowledge of their own model classes.

RubyVM::AbstractSyntaxTree::Node instances are created by parse methods in RubyVM::AbstractSyntaxTree.

This class is MRI specific.

Extends Fiddle::Closure to allow for building the closure in a block

Generic error class raised by SSLSocket and SSLContext.

No documentation available

The base class for any Node in a YAML parse tree. This class should never be instantiated.

Raised when the data length recorded in the gzip file footer is not equivalent to the length of the actual uncompressed data.

File-based session storage class.

Implements session storage as a flat file of ‘key=value’ values. This storage type only works directly with String values; the user is responsible for converting other types to Strings when storing and from Strings when retrieving.

In-memory session storage class.

Implements session storage as a global in-memory hash. Session data will only persist for as long as the Ruby interpreter instance does.

Dummy session storage class.

Implements session storage place holder. No actual storage will be done.

No documentation available

See Net::HTTPGenericRequest for attributes and methods. See Net::HTTP for usage examples.

See Net::HTTPGenericRequest for attributes and methods.

Net::IMAP::BodyTypeBasic represents basic body structures of messages.

Fields:

media_type

Returns the content media type name as defined in [MIME-IMB].

subtype

Returns the content subtype name as defined in [MIME-IMB].

param

Returns a hash that represents parameters as defined in [MIME-IMB].

content_id

Returns a string giving the content id as defined in [MIME-IMB].

description

Returns a string giving the content description as defined in [MIME-IMB].

encoding

Returns a string giving the content transfer encoding as defined in [MIME-IMB].

size

Returns a number giving the size of the body in octets.

md5

Returns a string giving the body MD5 value as defined in [MD5].

disposition

Returns a Net::IMAP::ContentDisposition object giving the content disposition.

language

Returns a string or an array of strings giving the body language value as defined in [LANGUAGE-TAGS].

extension

Returns extension data.

multipart?

Returns false.

Net::IMAP::BodyTypeText represents TEXT body structures of messages.

Fields:

lines

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.

Fields:

envelope

Returns a Net::IMAP::Envelope giving the envelope structure.

body

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.

Fields:

media_type

Returns the content media type name.

subtype

Returns nil.

param

Returns a hash that represents parameters.

multipart?

Returns false.

No documentation available

Indicates that the DNS response was unable to be decoded.

No documentation available
No documentation available

Represents a tagged XML element. Elements are characterized by having children, attributes, and names, and can themselves be children.

Using the Pull Parser

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.

Search took: 8ms  ·  Total Results: 3881