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