Method: Dry::Schema::Path#same_root?

Defined in:
lib/dry/schema/path.rb

#same_root?(other) ⇒ Boolean

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:

  • (Boolean)


100
101
102
# File 'lib/dry/schema/path.rb', line 100

def same_root?(other)
  root.equal?(other.root)
end