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

Methods

each_id   each_phrase   ids   phrases   refs  

Public Instance methods

[Source]

# File lib/tmail/header.rb, line 378
    def each_id
      self.refs.each do |i|
        yield i if MESSAGE_ID =~ i
      end
    end

[Source]

# File lib/tmail/header.rb, line 389
    def each_phrase
      self.refs.each do |i|
        yield i unless MESSAGE_ID =~ i
      end
    end

[Source]

# File lib/tmail/header.rb, line 384
    def ids
      ensure_parsed
      @ids
    end

[Source]

# File lib/tmail/header.rb, line 395
    def phrases
      result = []
      each_phrase do |i|
        result.push i
      end
      result
    end

[Source]

# File lib/tmail/header.rb, line 373
    def refs
      ensure_parsed
      @refs
    end

[Validate]