Method: MIME::Type#sub_type

Defined in:
lib/mime/type.rb

#sub_typeObject (readonly)

Returns the sub-type of the simplified MIME::Type.

text/plain        => plain
x-chemical/x-pdb  => pdb
audio/QCELP       => QCELP


311
312
313
# File 'lib/mime/type.rb', line 311

def sub_type
  @sub_type
end