method
media_type
v2_1_10 -
Show latest stable
- Class:
Net::IMAP::ResponseParser
media_type()private
No documentation available.
# File lib/net/imap.rb, line 2484
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