instance method do_accept

Ruby on Rails 2.2.3

Since v2.2.3 Last seen in v2.3.18 Private

Available in: v2.2.3 v2.3.18

Signature

do_accept( strategy )

No documentation comment.

Parameters

strategy req
Source
# File actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/header.rb, line 580
    def do_accept( strategy )
      list = []
      list.push 'from '  + @from       if @from
      list.push 'by '    + @by         if @by
      list.push 'via '   + @via        if @via
      @with.each do |i|
        list.push 'with ' + i
      end
      list.push 'id '    + @id         if @id
      list.push 'for <'  + @_for + '>' if @_for

      first = true
      list.each do |i|
        strategy.space unless first
        strategy.meta i
        first = false
      end
      if @date
        strategy.meta ';'
        strategy.space
        strategy.meta time2str(@date)
      end
    end

Defined in actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/header.rb line 580 · View on GitHub · Improve this page · Find usages on GitHub

Defined in TMail::ReceivedHeader

Type at least 2 characters to search.

↑↓ navigate · open · esc close