method
body_type_1part
v1_8_7_330 -
Show latest stable
- Class:
Net::IMAP::ResponseParser
body_type_1part()private
No documentation available.
# File lib/net/imap.rb, line 2207
def body_type_1part
token = lookahead
case token.value
when /\A(?:TEXT)\z/ni
return body_type_text
when /\A(?:MESSAGE)\z/ni
return body_type_msg
else
return body_type_basic
end
end