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