kind() public

Returns the kind of the validator.

Examples

  PresenceValidator.kind   # => :presence
  UniquenessValidator.kind # => :uniqueness
Show source
Register or log in to add new notes.