class Vcard::Attachment::Uri
Encapsulates a URI and implements some methods of String.
Attributes
The format of the data referred to by the URI. See Attachment
.
The URI value.
Public Instance Methods
Source
# File lib/vcard/attachment.rb, line 79 def to_io open(@uri) end
Return an IO object from opening the URI. See open-uri
for more information.
Source
# File lib/vcard/attachment.rb, line 84 def to_s to_io.read(nil) end
Return the String from reading the IO object to end-of-data.