Class: Booth::Syntaxes::Email
- Inherits:
-
Object
- Object
- Booth::Syntaxes::Email
- Includes:
- Logging, MethodObject
- Defined in:
- lib/booth/syntaxes/email.rb
Instance Method Summary collapse
Methods included from MethodObject
Instance Method Details
#call ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/booth/syntaxes/email.rb', line 9 def call debug { "Checking email #{input.inspect} for valid syntax..." } check_blank.on_success { check_too_short } .on_success { check_too_long } .on_success { check_characters } .on_success { check_ampersand } end |