class TMail::ReturnPathHeader
Constants
- PARSE_TYPE
Public Instance Methods
addr()
click to toggle source
# File lib/tmail/header.rb, line 340 def addr addrs()[0] end
routes()
click to toggle source
# File lib/tmail/header.rb, line 349 def routes a = addr() or return nil a.routes end
spec()
click to toggle source
# File lib/tmail/header.rb, line 344 def spec a = addr() or return nil a.spec end
Private Instance Methods
do_accept( strategy )
click to toggle source
# File lib/tmail/header.rb, line 356 def do_accept( strategy ) a = addr() strategy.meta '<' unless a.routes.empty? strategy.meta a.routes.map {|i| '@' + i }.join(',') strategy.meta ':' end spec = a.spec strategy.meta spec if spec strategy.meta '>' end