Ruby 2.4参考手册
Net::IMAP
Net::IMAP::BodyTypeMessage
Parent:Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :envelope, :body, :lines, :md5, :disposition, :language, :extension)
Net :: IMAP :: BodyTypeMessage表示消息的MESSAGE / RFC822正文结构。
领域:
envelope
返回一个给出信封式结构的Net :: IMAP :: Envelope。
body
返回一个给出主体结构的对象。
And Net::IMAP::BodyTypeMessage has all methods of Net::IMAP::BodyTypeText.
公共实例方法
media_subtype() Show source
Obsolete: 改为使用子类型。 调用此函数将生成一条警告消息给stderr,然后返回子类型的值。
# File lib/net/imap.rb, line 2033
def media_subtype
$stderr.printf("warning: media_subtype is obsolete.\n")
$stderr.printf(" use subtype instead.\n")
return subtype
end
multipart?() Show source
# File lib/net/imap.rb, line 2026
def multipart?
return false
end
Net::IMAP相关
Ruby 是一种面向对象、命令式、函数式、动态的通用编程语言,是世界上最优美而巧妙的语言。
主页 | https://www.ruby-lang.org/ |
源码 | https://github.com/ruby/ruby |
版本 | 2.4 |
发布版本 | 2.4.1 |