class MIME::Text

Text is intended for content which is principally textual in form. The subtype indicates the specific text type, such as plain or html.

Public Class Methods

new(body, subtype = 'plain', params = {}) click to toggle source
Calls superclass method MIME::DiscreteMedia.new
# File lib/mime/discrete_media.rb, line 56
def initialize(body, subtype = 'plain', params = {})
  super(body, "text/#{subtype}", params)
end