Class: Serega::SeregaValidations::Attribute::CheckOptHide
- Inherits:
-
Object
- Object
- Serega::SeregaValidations::Attribute::CheckOptHide
- Defined in:
- lib/serega/validations/attribute/check_opt_hide.rb
Overview
Attribute :hide
option validator
Class Method Summary collapse
-
.call(opts) ⇒ void
Checks attribute :hide option.
Class Method Details
.call(opts) ⇒ void
This method returns an undefined value.
Checks attribute :hide option
19 20 21 |
# File 'lib/serega/validations/attribute/check_opt_hide.rb', line 19 def self.call(opts) Utils::CheckOptIsBool.call(opts, :hide) end |