Class: MIME::Multipart::Alternative
- Inherits:
-
MIME::Multipart
- Object
- MIME::Media
- CompositeMedia
- MIME::Multipart
- MIME::Multipart::Alternative
- Defined in:
- lib/mime/composite_media.rb
Overview
The Alternative subtype indicates that each contained entity is an alternatively formatted version of the same content. The most complex version should be added to the message first, i.e. it will be sequentially last in the message.
Instance Attribute Summary
Attributes inherited from CompositeMedia
Attributes inherited from MIME::Media
Attributes included from Headers::MIME
#description, #disposition, #id, #mime_version, #transfer_encoding, #type
Instance Method Summary collapse
-
#initialize ⇒ Alternative
constructor
Returns a Multipart::Alternative object with a content type of multipart/alternative.
Methods inherited from CompositeMedia
Methods inherited from MIME::Media
Constructor Details
#initialize ⇒ Alternative
Returns a Multipart::Alternative object with a content type of multipart/alternative.
156 157 158 |
# File 'lib/mime/composite_media.rb', line 156 def initialize super('alternative') end |