Parent

Methods

Vpim::Attachment::Uri

Encapsulates a URI and implements some methods of String.

Attributes

format[R]

The format of the data referred to by the URI. See Attachment.

uri[R]

The URI value.

Public Instance Methods

to_io() click to toggle source

Return an IO object from opening the URI. See open-uri for more information.

# File lib/vpim/attachment.rb, line 85
def to_io
  open(@uri)
end
to_s() click to toggle source

Return the String from reading the IO object to end-of-data.

# File lib/vpim/attachment.rb, line 90
def to_s
  to_io.read(nil)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.