class TMail::SingleAddressHeader

Public Instance Methods

addr() click to toggle source
# File lib/tmail/header.rb, line 374
def addr
  addrs()[0]
end

Private Instance Methods

do_accept( strategy ) click to toggle source
# File lib/tmail/header.rb, line 380
def do_accept( strategy )
  a = addr()
  a.accept strategy
  @comments.each do |c|
    strategy.space
    strategy.meta '('
    strategy.text c
    strategy.meta ')'
  end
end