instance method check_tmp

Ruby on Rails 2.3.18

Since v2.2.3 Last seen in v2.3.18

Available in: v2.2.3 v2.3.18

Signature

check_tmp()

No documentation comment.

Source
# File actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/mailbox.rb, line 462
    def check_tmp
      old = Time.now.to_i - TOO_OLD
      
      each_filename(@tmp) do |full, fname|
        if FileTest.file? full and
           File.stat(full).mtime.to_i < old
          File.unlink full
        end
      end
    end

Defined in actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/mailbox.rb line 462 · View on GitHub · Improve this page · Find usages on GitHub

Defined in TMail::Maildir

Type at least 2 characters to search.

↑↓ navigate · open · esc close