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 433
    def each_id
      self.refs.each do |i|
        yield i if MESSAGE_ID === i
      end
    end

[Source]

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

[Source]

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

[Source]

# File lib/tmail/header.rb, line 450
    def phrases
      ret = []
      each_phrase {|i| ret.push i }
      ret
    end

[Source]

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

[Validate]