Class: Validations::WithValidator
- Inherits:
-
EachValidator
- Object
- EachValidator
- Validations::WithValidator
- Defined in:
- lib/strobe/validations.rb
Instance Method Summary collapse
Instance Method Details
#validate_each(record, attr, val) ⇒ Object
10 11 12 |
# File 'lib/strobe/validations.rb', line 10 def validate_each(record, attr, val) record.send [:method] end |