instance method
each_new_port
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v2.3.18Available in: v2.2.3 v2.3.18
Signature
each_new_port( mtime = nil )
old #each_mail returns Port def each_mail( &block )
each_port do |port| yield Mail.new(port) end
end
Parameters
-
mtimeopt = nil
Source
# File actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/mailbox.rb, line 318
def each_new_port( mtime = nil )
close_check
update
@real.each_new_port(mtime) {|p| yield p }
end
Defined in actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/mailbox.rb line 318
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in TMail::MboxLoader