instance method set_status

Ruby on Rails 2.2.3

Last seen in v2.3.18 Private — implementation detail, not part of the public API

Available in: v2.2.3 v2.3.18

Signature

set_status( tag, flag )

No documentation comment.

Parameters

tag req
flag req
Source
# File actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/port.rb, line 197
    def set_status( tag, flag )
      begin
        tmpfile = @filename + '.tmailtmp.' + $$.to_s
        File.open(tmpfile, 'w') {|f|
          write_status f, tag, flag
        }
        File.unlink @filename
        File.link tmpfile, @filename
      ensure
        File.unlink tmpfile
      end
    end

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

Defined in TMail::MhPort

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close