Class: Dry::Rules::Binary
- Defined in:
- lib/dry/rules/binary.rb
Direct Known Subclasses
Between, Collection, Composite, Equal, Format, GreaterThan, GreaterThanOrEqual, Included, LengthBetween, LengthEqual, LessThan, LessThanOrEqual, MaxLength, MinLength, NotEqual
Instance Attribute Summary
Attributes inherited from Dry::Rule
Instance Method Summary collapse
Methods inherited from Dry::Rule
#+, #add_error, #and, #clone, #initialize, #name, #or, #then, #valid?
Constructor Details
This class inherits a constructor from Dry::Rule
Instance Method Details
#left ⇒ Object
10 11 12 |
# File 'lib/dry/rules/binary.rb', line 10 def left value end |
#right ⇒ Object
5 6 7 |
# File 'lib/dry/rules/binary.rb', line 5 def right args[:right] end |