Class: TMail::SingleAddressHeader

Inherits:
AddressHeader show all
Defined in:
lib/tmail-pure/header.rb

Constant Summary

Constants inherited from AddressHeader

AddressHeader::PARSE_TYPE

Constants inherited from HeaderField

HeaderField::FNAME_TO_CLASS

Instance Method Summary collapse

Methods inherited from AddressHeader

#addrs

Methods inherited from StructuredHeader

#comments

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

Constructor Details

This class inherits a constructor from TMail::HeaderField

Instance Method Details

#addrObject



317
318
319
# File 'lib/tmail-pure/header.rb', line 317

def addr
  addrs()[0]
end