Class: Dry::Logic::Result::Wrapped
- Inherits:
-
Dry::Logic::Result
- Object
- Dry::Logic::Result
- Dry::Logic::Result::Wrapped
- Defined in:
- lib/dry/logic/result.rb
Instance Attribute Summary
Attributes inherited from Dry::Logic::Result
Instance Method Summary collapse
- #to_ary ⇒ Object (also: #to_a)
Methods inherited from Dry::Logic::Result
#>, #and, #call, #curry, #failure?, #initialize, #negated, #or, #success?, #xor
Constructor Details
This class inherits a constructor from Dry::Logic::Result
Instance Method Details
#to_ary ⇒ Object Also known as: to_a
71 72 73 |
# File 'lib/dry/logic/result.rb', line 71 def to_ary [:input, [name, nil, [rule.to_ary]]] end |