Class: TMail::ReturnPathHeader
- Inherits:
-
AddressHeader
- Object
- HeaderField
- StructuredHeader
- AddressHeader
- TMail::ReturnPathHeader
- Defined in:
- lib/tmail-pure/header.rb
Constant Summary collapse
- PARSE_TYPE =
:RETPATH
Constants inherited from HeaderField
Instance Method Summary collapse
Methods inherited from AddressHeader
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
Constructor Details
This class inherits a constructor from TMail::HeaderField
Instance Method Details
#addr ⇒ Object
283 284 285 |
# File 'lib/tmail-pure/header.rb', line 283 def addr addrs()[0] end |
#routes ⇒ Object
292 293 294 295 |
# File 'lib/tmail-pure/header.rb', line 292 def routes a = addr() or return nil a.routes end |
#spec ⇒ Object
287 288 289 290 |
# File 'lib/tmail-pure/header.rb', line 287 def spec a = addr() or return nil a.spec end |