Class: Vanguard::Rule::Nullary::Attribute::Inclusion::Acceptance
- Inherits:
-
Vanguard::Rule::Nullary::Attribute::Inclusion
- Object
- Vanguard::Rule
- Vanguard::Rule::Nullary
- Vanguard::Rule::Nullary::Attribute
- Vanguard::Rule::Nullary::Attribute::Inclusion
- Vanguard::Rule::Nullary::Attribute::Inclusion::Acceptance
- Defined in:
- lib/vanguard/rule/nullary/attribute/inclusion.rb
Overview
Rule that tests for acceptance
Defined Under Namespace
Classes: Builder
Constant Summary collapse
- TYPE =
:acceptance
- DEFAULT_ACCEPTED_VALUES =
[ '1', 1, 'true', true, 't' ].to_set.deep_freeze
Instance Attribute Summary
Attributes inherited from Vanguard::Rule::Nullary::Attribute
Method Summary
Methods inherited from Vanguard::Rule::Nullary::Attribute
Methods inherited from Vanguard::Rule::Nullary
Methods inherited from Vanguard::Rule
#evaluate, #evaluator, #violations
Constructor Details
This class inherits a constructor from Vanguard::Rule::Nullary::Attribute