class Dry::Schema::Message::Or::MultiPath::MessageArray

@api private

def _paths

Other tags:
    Api: - private
def _paths
  @messages.map(&:_path)
end

def initialize(messages)

Other tags:
    Api: - private
def initialize(messages)
  @messages = messages.flatten
end

def to_h

Other tags:
    Api: - private
def to_h
  MessageSet.new(@messages).to_h
end

def to_or(root)

Other tags:
    Api: - private
def to_or(root)
  self.class.new(@messages.map { _1.to_or(root) })
end