Class TMail::MimeVersionHeader
In: lib/tmail/header.rb
Parent: StructuredHeader

Methods

major   major=   minor   minor=   version  

Constants

PARSE_TYPE = :MIMEVERSION

Public Instance methods

[Source]

# File lib/tmail/header.rb, line 701
    def major
      ensure_parsed
      @major
    end

[Source]

# File lib/tmail/header.rb, line 706
    def major=( arg )
      ensure_parsed
      @major = arg
    end

[Source]

# File lib/tmail/header.rb, line 711
    def minor
      ensure_parsed
      @minor
    end

[Source]

# File lib/tmail/header.rb, line 716
    def minor=( arg )
      ensure_parsed
      @minor = arg
    end

[Source]

# File lib/tmail/header.rb, line 721
    def version
      sprintf('%d.%d', major, minor)
    end

[Validate]