Class: Ayadn::SetMarker
Instance Attribute Summary
Attributes inherited from SetBase
Instance Method Summary collapse
-
#initialize ⇒ SetMarker
constructor
A new instance of SetMarker.
- #method_missing(meth, options) ⇒ Object
- #validate(value) ⇒ Object
Methods inherited from SetBase
Constructor Details
#initialize ⇒ SetMarker
Returns a new instance of SetMarker.
534 535 536 537 |
# File 'lib/ayadn/set.rb', line 534 def initialize super @category = 'marker' end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
Instance Method Details
#validate(value) ⇒ Object
539 540 541 |
# File 'lib/ayadn/set.rb', line 539 def validate(value) Validators.boolean(value) end |