class MIME::Multipart

The abstract base class for all multipart message subtypes. The entities of a multipart message are delimited by a unique boundary.

Public Class Methods

new(media_subtype) click to toggle source
Calls superclass method MIME::CompositeMedia.new
# File lib/mime/composite_media.rb, line 138
def initialize media_subtype
  AbstractClassError.no_instantiation(self, Multipart)
  super("multipart/#{media_subtype}")
end