class TMail::KeywordsHeader

Constants

PARSE_TYPE

Public Instance Methods

keys() click to toggle source
# File lib/tmail/header.rb, line 613
def keys
  ensure_parsed
  @keys
end

Private Instance Methods

do_accept( strategy ) click to toggle source
# File lib/tmail/header.rb, line 632
def do_accept( strategy )
  first = true
  @keys.each do |i|
    if first
      first = false
    else
      strategy.meta ','
    end
    strategy.meta i
  end
end
init() click to toggle source
# File lib/tmail/header.rb, line 620
def init
  @keys = []
end
isempty?() click to toggle source
# File lib/tmail/header.rb, line 628
def isempty?
  @keys.empty?
end
set( a ) click to toggle source
# File lib/tmail/header.rb, line 624
def set( a )
  @keys = a
end