class MIME::Content::Text::Plain

Well, it says plain text

Public Class Methods

new() click to toggle source
# File lib/safrano/multipart.rb, line 241
def initialize
  @hd = {}
  # we need it unfrozen --> +
  @content = +''
  # set default values. Can be overwritten by parser
  @hd[CTT_TYPE_LC] = TEXT_PLAIN
  @ct = TEXT_PLAIN
  @parser = Parser.new(self)
end

Public Instance Methods

==(other) click to toggle source
# File lib/safrano/multipart.rb, line 255
def ==(other)
  (@hd == other.hd) && (@content == other.content)
end
unparse() click to toggle source
# File lib/safrano/multipart.rb, line 251
def unparse
  @content
end