Class: Ayadn::SetBackup
Instance Attribute Summary
Attributes inherited from SetBase
Instance Method Summary collapse
-
#initialize ⇒ SetBackup
constructor
A new instance of SetBackup.
- #method_missing(meth, options) ⇒ Object
- #validate(value) ⇒ Object
Methods inherited from SetBase
Constructor Details
#initialize ⇒ SetBackup
Returns a new instance of SetBackup.
510 511 512 513 |
# File 'lib/ayadn/set.rb', line 510 def initialize super @category = 'backup' end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
Instance Method Details
#validate(value) ⇒ Object
515 516 517 |
# File 'lib/ayadn/set.rb', line 515 def validate(value) Validators.boolean(value) end |