class MailHandler::Receiving::FileList::Filter::ByEmailSubject

filter by email subject

Private Instance Methods

check_content_fast(file) click to toggle source
# File lib/mailhandler/receiving/filelist/filter/email.rb, line 70
def check_content_fast(file)
  read_file(file).include? @content
end
check_content_slow(file) click to toggle source
# File lib/mailhandler/receiving/filelist/filter/email.rb, line 74
def check_content_slow(file)
  read_email_from_file(file).subject.to_s.include? @content
end