Methods
Constants
| PARSE_TYPE | = | :ENCRYPTED |
Public Instance methods
[ show source ]
# File lib/action_mailer/vendor/tmail/header.rb, line 594
594: def encrypter
595: ensure_parsed
596: @encrypter
597: end
[ show source ]
# File lib/action_mailer/vendor/tmail/header.rb, line 599
599: def encrypter=( arg )
600: ensure_parsed
601: @encrypter = arg
602: end
[ show source ]
# File lib/action_mailer/vendor/tmail/header.rb, line 604
604: def keyword
605: ensure_parsed
606: @keyword
607: end
[ show source ]
# File lib/action_mailer/vendor/tmail/header.rb, line 609
609: def keyword=( arg )
610: ensure_parsed
611: @keyword = arg
612: end
Private Instance methods
[ show source ]
# File lib/action_mailer/vendor/tmail/header.rb, line 629
629: def do_accept( strategy )
630: if @key
631: strategy.meta @encrypter + ','
632: strategy.space
633: strategy.meta @keyword
634: else
635: strategy.meta @encrypter
636: end
637: end
[ show source ]
# File lib/action_mailer/vendor/tmail/header.rb, line 616
616: def init
617: @encrypter = nil
618: @keyword = nil
619: end
[ show source ]
# File lib/action_mailer/vendor/tmail/header.rb, line 625
625: def isempty?
626: not (@encrypter or @keyword)
627: end
[ show source ]
# File lib/action_mailer/vendor/tmail/header.rb, line 621
621: def set( args )
622: @encrypter, @keyword = args
623: end