instance method
check_tmp
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v2.3.18Available in: v2.2.3 v2.3.18
Signature
check_tmp()
No documentation comment.
Source
# File actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/mailbox.rb, line 461
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.3/tmail/mailbox.rb line 461
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in TMail::MaildirLoader