小松 大輔(Daisuke Komatsu)
and 1 contributors

NAME

FormValidator::LazyWay::Rule::String - String Rule

METHOD

length

stash_test

ascii

nonsymbol_ascii

only alphabets and numbers.

you add $args->{allow} if you accept symbols.

  username:
    rule:
      - String#nonsimbol_ascii:
          args:
            allow:
              - '_'
              - '-'

alphabet

number