method
media_type
ruby latest stable - Class:
Net::IMAP::ResponseParser
media_type()private
No documentation available.
# File lib/net/imap.rb, line 2615
def media_type
mtype = case_insensitive_string
token = lookahead
if token.symbol != T_SPACE
return mtype, nil
end
match(T_SPACE)
msubtype = case_insensitive_string
return mtype, msubtype
end