method
check_validity!
v6.1.7.7 -
Show latest stable
- Class:
ActiveModel::EachValidator
check_validity!()public
Hook method that gets called by the initializer allowing verification that the arguments supplied are valid. You could for example raise an ArgumentError when invalid options are supplied.