Method: ActiveModel::EachValidator#check_validity!
- Defined in:
- lib/active_model/validator.rb
#check_validity! ⇒ Object
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.
168 169 |
# File 'lib/active_model/validator.rb', line 168 def check_validity! end |