Class: TMail::UnstructuredHeader

Inherits:
HeaderField show all
Defined in:
lib/gems/tmail-1.2.3.1/lib/tmail/header.rb

Constant Summary

Constants inherited from HeaderField

HeaderField::FNAME_TO_CLASS

Constants included from TextUtils

TextUtils::ATOM_UNSAFE, TextUtils::CONTROL_CHAR, TextUtils::MESSAGE_ID, TextUtils::MIME_ENCODED, TextUtils::MONTH, TextUtils::NKF_FLAGS, TextUtils::PHRASE_UNSAFE, TextUtils::RFC2231_ENCODED, TextUtils::TOKEN_UNSAFE, TextUtils::WDAY, TextUtils::ZONESTR_TABLE

Instance Method Summary collapse

Methods inherited from HeaderField

#accept, #empty?, #illegal?, #initialize, #inspect, internal_new, new, new_from_port, newobj

Methods included from StrategyInterface

#accept_strategy, create_dest, #decoded, #encoded

Methods included from TextUtils

#atom_safe?, #decode_RFC2231, #decode_params, #join_domain, #message_id?, #mime_encoded?, #quote_atom, #quote_boundary, #quote_phrase, #quote_token, #time2str, #timezone_string_to_unixtime, #to_kcode, #token_safe?, #unquote

Constructor Details

This class inherits a constructor from TMail::HeaderField

Instance Method Details

#bodyObject



176
177
178
179
# File 'lib/gems/tmail-1.2.3.1/lib/tmail/header.rb', line 176

def body
  ensure_parsed
  @body
end

#body=(arg) ⇒ Object



181
182
183
184
# File 'lib/gems/tmail-1.2.3.1/lib/tmail/header.rb', line 181

def body=( arg )
  ensure_parsed
  @body = arg
end