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

Methods

[]   []=   disposition   disposition=   params  

Constants

PARSE_TYPE = :CDISPOSITION

Public Instance methods

[Source]

# File lib/tmail/header.rb, line 822
    def [](key)
      ensure_parsed
      @params and @params[key]
    end

[Source]

# File lib/tmail/header.rb, line 827
    def []=(key, val)
      ensure_parsed
      (@params ||= {})[key] = val
    end

[Source]

# File lib/tmail/header.rb, line 807
    def disposition
      ensure_parsed
      @disposition
    end

[Source]

# File lib/tmail/header.rb, line 812
    def disposition=(str)
      ensure_parsed
      @disposition = str.downcase
    end

[Source]

# File lib/tmail/header.rb, line 817
    def params
      ensure_parsed
      @params
    end

[Validate]