Method: Dry::Schema::Path#include?
- Defined in:
- lib/dry/schema/path.rb
#include?(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.
74 75 76 |
# File 'lib/dry/schema/path.rb', line 74 def include?(other) keys[0, other.keys.length].eql?(other.keys) end |