class Mail::ContentTypeElement
:nodoc:
def cleaned(string)
def cleaned(string) if string =~ /;\s*$/ $` else string end end
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