Methods
Constants
| PARSE_TYPE | = | :RETPATH |
Public Instance methods
[ show source ]
# File lib/action_mailer/vendor/tmail/header.rb, line 302
302: def addr
303: addrs()[0]
304: end
[ show source ]
# File lib/action_mailer/vendor/tmail/header.rb, line 311
311: def routes
312: a = addr() or return nil
313: a.routes
314: end
[ show source ]
# File lib/action_mailer/vendor/tmail/header.rb, line 306
306: def spec
307: a = addr() or return nil
308: a.spec
309: end
Private Instance methods
[ show source ]
# File lib/action_mailer/vendor/tmail/header.rb, line 318
318: def do_accept( strategy )
319: a = addr()
320:
321: strategy.meta '<'
322: unless a.routes.empty?
323: strategy.meta a.routes.map {|i| '@' + i }.join(',')
324: strategy.meta ':'
325: end
326: spec = a.spec
327: strategy.meta spec if spec
328: strategy.meta '>'
329: end