Class: TMail::ReferencesHeader
- Inherits:
-
StructuredHeader
- Object
- HeaderField
- StructuredHeader
- TMail::ReferencesHeader
- Defined in:
- lib/action_mailer/vendor/tmail-1.2.7/tmail/header.rb
Constant Summary
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
#each_id ⇒ Object
435 436 437 438 439 |
# File 'lib/action_mailer/vendor/tmail-1.2.7/tmail/header.rb', line 435 def each_id self.refs.each do |i| yield i if MESSAGE_ID === i end end |
#each_phrase ⇒ Object
446 447 448 449 450 |
# File 'lib/action_mailer/vendor/tmail-1.2.7/tmail/header.rb', line 446 def each_phrase self.refs.each do |i| yield i unless MESSAGE_ID === i end end |
#ids ⇒ Object
441 442 443 444 |
# File 'lib/action_mailer/vendor/tmail-1.2.7/tmail/header.rb', line 441 def ids ensure_parsed @ids end |
#phrases ⇒ Object
452 453 454 455 456 |
# File 'lib/action_mailer/vendor/tmail-1.2.7/tmail/header.rb', line 452 def phrases ret = [] each_phrase {|i| ret.push i } ret end |
#refs ⇒ Object
430 431 432 433 |
# File 'lib/action_mailer/vendor/tmail-1.2.7/tmail/header.rb', line 430 def refs ensure_parsed @refs end |