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