class Net::IMAP::BodyTypeText
Net::IMAP::BodyTypeText
represents the body structures of messages and message parts, when Content-Type
is text/*
.
BodyTypeText
contains all of the fields of BodyTypeBasic
. See BodyTypeBasic
for documentation of the following:
Public Instance Methods
Source
# File lib/net/imap/response_data.rb, line 991
Returns the size of the body in text lines.
Source
# File lib/net/imap/response_data.rb, line 1007 def media_subtype warn("media_subtype is obsolete, use subtype instead.\n", uplevel: 1, category: :deprecated) return subtype end
Obsolete: use subtype
instead. Calling this will generate a warning message to stderr
, then return the value of subtype
.
Source
# File lib/net/imap/response_data.rb, line 1000 def multipart? return false end
BodyTypeText
is not used for multipart MIME parts.