method
media_type
media_type()
private
Hide source
# 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