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