Class: Serega::SeregaValidations::Attribute::CheckOptMany
- Inherits:
-
Object
- Object
- Serega::SeregaValidations::Attribute::CheckOptMany
- Defined in:
- lib/serega/validations/attribute/check_opt_many.rb
Class Method Summary collapse
-
.call(opts) ⇒ void
Checks attribute :many option.
Class Method Details
.call(opts) ⇒ void
This method returns an undefined value.
Checks attribute :many option
16 17 18 |
# File 'lib/serega/validations/attribute/check_opt_many.rb', line 16 def self.call(opts) SeregaUtils::CheckOptIsBool.call(opts, :many) end |