Class: TMail::MimeVersionHeader
- Inherits:
-
StructuredHeader
- Object
- HeaderField
- StructuredHeader
- TMail::MimeVersionHeader
- Defined in:
- lib/action_mailer/vendor/tmail-1.2.7/tmail/header.rb
Constant Summary collapse
- PARSE_TYPE =
:MIMEVERSION
Constants inherited from HeaderField
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 StructuredHeader
Methods inherited from HeaderField
#accept, #body, #body=, #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, #quote_unquoted_bencode, #quote_unquoted_name, #time2str, #timezone_string_to_unixtime, #to_kcode, #token_safe?, #unquote
Constructor Details
This class inherits a constructor from TMail::HeaderField
Instance Method Details
#major ⇒ Object
703 704 705 706 |
# File 'lib/action_mailer/vendor/tmail-1.2.7/tmail/header.rb', line 703 def major ensure_parsed @major end |
#major=(arg) ⇒ Object
708 709 710 711 |
# File 'lib/action_mailer/vendor/tmail-1.2.7/tmail/header.rb', line 708 def major=( arg ) ensure_parsed @major = arg end |
#minor ⇒ Object
713 714 715 716 |
# File 'lib/action_mailer/vendor/tmail-1.2.7/tmail/header.rb', line 713 def minor ensure_parsed @minor end |
#minor=(arg) ⇒ Object
718 719 720 721 |
# File 'lib/action_mailer/vendor/tmail-1.2.7/tmail/header.rb', line 718 def minor=( arg ) ensure_parsed @minor = arg end |
#version ⇒ Object
723 724 725 |
# File 'lib/action_mailer/vendor/tmail-1.2.7/tmail/header.rb', line 723 def version sprintf('%d.%d', major, minor) end |