Module: Mail::ContentType::ContentType1

Defined in:
lib/mail/parsers/content_type.rb

Instance Method Summary collapse

Instance Method Details

#main_typeObject


31
32
33
# File 'lib/mail/parsers/content_type.rb', line 31

def main_type
  elements[0]
end

#param_hashesObject


39
40
41
# File 'lib/mail/parsers/content_type.rb', line 39

def param_hashes
  elements[3]
end

#sub_typeObject


35
36
37
# File 'lib/mail/parsers/content_type.rb', line 35

def sub_type
  elements[2]
end