Class: Dry::Schema::Message::Or::Abstract Abstract Private
- Inherits:
-
Object
- Object
- Dry::Schema::Message::Or::Abstract
- Defined in:
- lib/dry/schema/message/or/abstract.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
This class is abstract.
A message type used by OR operations
Direct Known Subclasses
Instance Attribute Summary collapse
- #left ⇒ Object readonly private
- #right ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(left, right) ⇒ Abstract
constructor
private
A new instance of Abstract.
Constructor Details
#initialize(left, right) ⇒ Abstract
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Abstract.
20 21 22 23 |
# File 'lib/dry/schema/message/or/abstract.rb', line 20 def initialize(left, right) @left = left @right = right end |
Instance Attribute Details
#left ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
14 15 16 |
# File 'lib/dry/schema/message/or/abstract.rb', line 14 def left @left end |
#right ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
17 18 19 |
# File 'lib/dry/schema/message/or/abstract.rb', line 17 def right @right end |