class TMail::AddressHeader
Constants
- PARSE_TYPE
Public Instance Methods
addrs()
click to toggle source
# File lib/tmail/header.rb, line 294 def addrs ensure_parsed @addrs end
Private Instance Methods
do_accept( strategy )
click to toggle source
# File lib/tmail/header.rb, line 313 def do_accept( strategy ) first = true @addrs.each do |a| if first first = false else strategy.puts_meta ',' strategy.space end a.accept strategy end @comments.each do |c| strategy.space strategy.meta '(' strategy.text c strategy.meta ')' end end
init()
click to toggle source
# File lib/tmail/header.rb, line 301 def init @addrs = [] end
isempty?()
click to toggle source
# File lib/tmail/header.rb, line 309 def isempty? @addrs.empty? end
set( a )
click to toggle source
# File lib/tmail/header.rb, line 305 def set( a ) @addrs = a end