Class: Autoreply::Scanner::Subject

Inherits:
Base
  • Object
show all
Defined in:
lib/autoreply/scanner/subject.rb

Constant Summary collapse

KNOWN_SUBJECTS =
[
  "Auto:",
  "Automatic reply",
  "Autosvar",
  "Automatisk svar",
  "Automatisch antwoord",
  "Abwesenheitsnotiz",
  "Risposta Non al computer",
  "Automatisch antwoord",
  "Auto Response",
  "Respuesta automática",
  "Fuori sede",
  "Out of Office",
  "Frånvaro",
  "Réponse automatique",
  "Abwesend"
]

Instance Attribute Summary

Attributes inherited from Base

#mail

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Autoreply::Scanner::Base

Instance Method Details

#autoreply?Boolean

Returns:

  • (Boolean)


21
22
23
# File 'lib/autoreply/scanner/subject.rb', line 21

def autoreply?
  !detected_subjects.empty?
end