Class: Dry::Schema::Message::Or::Abstract Abstract Private

Inherits:
Object
  • Object
show all
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

MultiPath, SinglePath

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#leftObject (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

#rightObject (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