Class: Net::IMAP::BodyTypeText
- Inherits:
-
Struct
- Object
- Struct
- Net::IMAP::BodyTypeText
- Defined in:
- lib/net/imap.rb
Overview
Net::IMAP::BodyTypeText represents TEXT body structures of messages.
Fields:
lines |
Returns the size of the body in text lines. |
And Net::IMAP::BodyTypeText has all fields of Net::IMAP::BodyTypeBasic.
Instance Attribute Summary (collapse)
-
- (Object) content_id
Returns the value of attribute content_id.
-
- (Object) description
Returns the value of attribute description.
-
- (Object) disposition
Returns the value of attribute disposition.
-
- (Object) encoding
Returns the value of attribute encoding.
-
- (Object) extension
Returns the value of attribute extension.
-
- (Object) language
Returns the value of attribute language.
-
- (Object) lines
Returns the value of attribute lines.
-
- (Object) md5
Returns the value of attribute md5.
-
- (Object) media_type
Returns the value of attribute media_type.
-
- (Object) param
Returns the value of attribute param.
-
- (Object) size
Returns the value of attribute size.
-
- (Object) subtype
Returns the value of attribute subtype.
Instance Method Summary (collapse)
-
- (Object) media_subtype
Obsolete: use subtype instead.
- - (Boolean) multipart?
Instance Attribute Details
- (Object) content_id
Returns the value of attribute content_id
1776 1777 1778 |
# File 'lib/net/imap.rb', line 1776 def content_id @content_id end |
- (Object) description
Returns the value of attribute description
1776 1777 1778 |
# File 'lib/net/imap.rb', line 1776 def description @description end |
- (Object) disposition
Returns the value of attribute disposition
1776 1777 1778 |
# File 'lib/net/imap.rb', line 1776 def disposition @disposition end |
- (Object) encoding
Returns the value of attribute encoding
1776 1777 1778 |
# File 'lib/net/imap.rb', line 1776 def encoding @encoding end |
- (Object) extension
Returns the value of attribute extension
1776 1777 1778 |
# File 'lib/net/imap.rb', line 1776 def extension @extension end |
- (Object) language
Returns the value of attribute language
1776 1777 1778 |
# File 'lib/net/imap.rb', line 1776 def language @language end |
- (Object) lines
Returns the value of attribute lines
1776 1777 1778 |
# File 'lib/net/imap.rb', line 1776 def lines @lines end |
- (Object) md5
Returns the value of attribute md5
1776 1777 1778 |
# File 'lib/net/imap.rb', line 1776 def md5 @md5 end |
- (Object) media_type
Returns the value of attribute media_type
1776 1777 1778 |
# File 'lib/net/imap.rb', line 1776 def media_type @media_type end |
- (Object) param
Returns the value of attribute param
1776 1777 1778 |
# File 'lib/net/imap.rb', line 1776 def param @param end |
- (Object) size
Returns the value of attribute size
1776 1777 1778 |
# File 'lib/net/imap.rb', line 1776 def size @size end |
- (Object) subtype
Returns the value of attribute subtype
1776 1777 1778 |
# File 'lib/net/imap.rb', line 1776 def subtype @subtype end |
Instance Method Details
- (Object) media_subtype
Obsolete: use subtype instead. Calling this will generate a warning message to stderr, then return the value of subtype.
1789 1790 1791 1792 1793 |
# File 'lib/net/imap.rb', line 1789 def media_subtype $stderr.printf("warning: media_subtype is obsolete.\n") $stderr.printf(" use subtype instead.\n") return subtype end |
- (Boolean) multipart?
1782 1783 1784 |
# File 'lib/net/imap.rb', line 1782 def multipart? return false end |