Class: Stockboy::Filters::MissingEmail
- Inherits:
-
Stockboy::Filter
- Object
- Stockboy::Filter
- Stockboy::Filters::MissingEmail
- Defined in:
- lib/stockboy/filters/missing_email.rb
Overview
Very loose matching to pre-screen missing emails.
Only checks if there is a potential email-like string in the output value, and does not do any format checking for validity.
Instance Method Summary collapse
-
#initialize(attr) ⇒ MissingEmail
constructor
Initialize a new filter for a missing email attribute.
Methods inherited from Stockboy::Filter
Constructor Details
#initialize(attr) ⇒ MissingEmail
Initialize a new filter for a missing email attribute
24 25 26 |
# File 'lib/stockboy/filters/missing_email.rb', line 24 def initialize(attr) @attr = attr end |