class Vcard::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/vcard/attachment.rb, line 79 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/vcard/attachment.rb, line 84 def to_s to_io.read(nil) end