class Dry::Schema::Path
def &(other)
- Api: - private
def &(other) self.class.new( keys.take_while.with_index { |key, index| other.keys[index].eql?(key) } ) end
def &(other) self.class.new( keys.take_while.with_index { |key, index| other.keys[index].eql?(key) } ) end