Class: IsEmail::Validators::Base Private
- Inherits:
-
Object
- Object
- IsEmail::Validators::Base
- Defined in:
- lib/is_email/validators/base.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
An abstract base class for validators
Direct Known Subclasses
Instance Method Summary collapse
-
#email?(address, diagnose: false) ⇒ Boolean, Diagnosis
private
Checks whether an address is valid, optionally returning a diagnosis.
Instance Method Details
#email?(address, diagnose: false) ⇒ Boolean, Diagnosis
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Checks whether an address is valid, optionally returning a diagnosis
:nocov:
17 18 19 |
# File 'lib/is_email/validators/base.rb', line 17 def email?(address, diagnose: false) raise NotImplementedError end |