class Mail::ContentTypeElement

def initialize(string)

def initialize(string)
  content_type = Mail::Parsers::ContentTypeParser.parse(cleaned(string))
  @main_type = content_type.main_type
  @sub_type = content_type.sub_type
  @parameters = content_type.parameters
end