class TMail::ContentTransferEncodingHeader

Constants

PARSE_TYPE

Public Instance Methods

encoding() click to toggle source
# File lib/tmail/header.rb, line 834
def encoding
  ensure_parsed
  @encoding
end
encoding=( arg ) click to toggle source
# File lib/tmail/header.rb, line 839
def encoding=( arg )
  ensure_parsed
  @encoding = arg
end

Private Instance Methods

do_accept( strategy ) click to toggle source
# File lib/tmail/header.rb, line 858
def do_accept( strategy )
  strategy.meta @encoding.capitalize
end
init() click to toggle source
# File lib/tmail/header.rb, line 846
def init
  @encoding = nil
end
isempty?() click to toggle source
# File lib/tmail/header.rb, line 854
def isempty?
  not @encoding
end
set( s ) click to toggle source
# File lib/tmail/header.rb, line 850
def set( s )
  @encoding = s
end