Module: BooleanValidator::HelperMethods
- Defined in:
- lib/trax/validators/boolean_validator.rb
Instance Method Summary collapse
Instance Method Details
#validates_booleans(*attr_names) ⇒ Object
10 11 12 |
# File 'lib/trax/validators/boolean_validator.rb', line 10 def validates_booleans(*attr_names) validates_with(::BooleanValidator, _merge_attributes(attr_names)) end |