Methods
Constants
| PARSE_TYPE | = | :MIMEVERSION |
Public Instance methods
[ show source ]
# File lib/action_mailer/vendor/tmail/header.rb, line 665
665: def major
666: ensure_parsed
667: @major
668: end
[ show source ]
# File lib/action_mailer/vendor/tmail/header.rb, line 670
670: def major=( arg )
671: ensure_parsed
672: @major = arg
673: end
[ show source ]
# File lib/action_mailer/vendor/tmail/header.rb, line 675
675: def minor
676: ensure_parsed
677: @minor
678: end
[ show source ]
# File lib/action_mailer/vendor/tmail/header.rb, line 680
680: def minor=( arg )
681: ensure_parsed
682: @minor = arg
683: end
[ show source ]
# File lib/action_mailer/vendor/tmail/header.rb, line 685
685: def version
686: sprintf('%d.%d', major, minor)
687: end
Private Instance methods
[ show source ]
# File lib/action_mailer/vendor/tmail/header.rb, line 704
704: def do_accept( strategy )
705: strategy.meta sprintf('%d.%d', @major, @minor)
706: end
[ show source ]
# File lib/action_mailer/vendor/tmail/header.rb, line 691
691: def init
692: @major = nil
693: @minor = nil
694: end
[ show source ]
# File lib/action_mailer/vendor/tmail/header.rb, line 700
700: def isempty?
701: not (@major or @minor)
702: end
[ show source ]
# File lib/action_mailer/vendor/tmail/header.rb, line 696
696: def set( args )
697: @major, @minor = *args
698: end