Module | Vcard::Attachment |
In: |
lib/vcard/attachment.rb
|
Attachments are used by both iCalendar and vCard. They are either a URI or inline data, and their decoded value will be either a Uri or a Inline, as appropriate.
Besides the methods specific to their class, both kinds of object implement a set of common methods, allowing them to be treated uniformly:
The objects can also be distinguished by their class, if necessary.