Method: MIME::Type#media_type
- Defined in:
- lib/mime/type.rb
#media_type ⇒ Object (readonly)
Returns the media type of the simplified MIME::Type.
text/plain => text
x-chemical/x-pdb => x-chemical
audio/QCELP => audio
299 300 301 |
# File 'lib/mime/type.rb', line 299 def media_type @media_type end |