Method: Definition::KeyConformError#error_key_path
- Defined in:
- lib/definition/key_conform_error.rb
#error_key_path ⇒ Object
14 15 16 17 18 19 20 21 22 |
# File 'lib/definition/key_conform_error.rb', line 14 def error_key_path path = [key] while (current = parent) next unless current.is_a?(KeyConformError) path += [current.key] end path.reverse end |