Class: MIME::TextMedia

Class | MIME::TextMedia
In: | lib/mime/discrete_media_type.rb
Parent: | DiscreteMediaType

TextMedia is intended for content which is principally textual in form.

### Methods

new

### Public Class methods

new(body, content_type = 'text/plain; charset=us-ascii')

Return a new TextMedia object containing `body` with the content type of `content_type`.

To specify the character set of `body`, a charset parameter may be appended to `content_type` using a semi-colon delimiter.

[Validate]