method
body_type_1part
body_type_1part()
private
Hide source
# File lib/net/imap.rb, line 2500 def body_type_1part token = lookahead case token.value when /\A(?:TEXT)\z/i return body_type_text when /\A(?:MESSAGE)\z/i return body_type_msg when /\A(?:ATTACHMENT)\z/i return body_type_attachment when /\A(?:MIXED)\z/i return body_type_mixed else return body_type_basic end end