abstract class Athena::MIME::Header::Abstract(T)
- Athena::MIME::Header::Abstract(T)
- Reference
- Object
Overview
Base type of all headers that provides common utilities and abstractions.
Included Modules
Direct Known Subclasses
- Athena::MIME::Header::Date
- Athena::MIME::Header::Identification
- Athena::MIME::Header::Mailbox
- Athena::MIME::Header::MailboxList
- Athena::MIME::Header::Path
- Athena::MIME::Header::Unstructured
Defined in:
header/abstract.crConstructors
Instance Method Summary
-
#body : T
Returns the body of this header.
-
#body=(body : T)
Sets the body of this header.
-
#charset : String
Sets the character set used in this header.
-
#charset=(charset : String)
Sets the character set used in this header.
-
#clone
Returns a copy of
self
with all instance variables cloned. -
#lang : String | Nil
Sets the language used in this header.
-
#lang=(lang : String | Nil)
Sets the language used in this header.
-
#max_line_length : Int32
Controls how long each header line may be before needing wrapped.
-
#max_line_length=(max_line_length : Int32)
Controls how long each header line may be before needing wrapped.
-
#name : String
Returns the name of the header.
Instance methods inherited from module Athena::MIME::Header::Interface
body
body,
body=(body)
body=,
body_to_s : String
body_to_s,
max_line_length : Int32
max_line_length,
max_line_length=(max_line_length : Int32)
max_line_length=,
name : String
name,
to_s(io : IO) : Nil
to_s
Constructor Detail
Instance Method Detail
def max_line_length : Int32
#
Controls how long each header line may be before needing wrapped.
Defaults to 76
.
def max_line_length=(max_line_length : Int32)
#
Controls how long each header line may be before needing wrapped.
Defaults to 76
.