Enumpath navigates nested Ruby objects with JSONPath-style path expressions written as plain strings. It works on the data you actually have in memory: hashes with symbol, string or integer keys, arrays, Structs, plain objects and OpenStructs, in any mix. It is like Ruby's native dig, but a path can use wildcards, filters, slices, unions and recursive descent, so it can live in configuration or a database and change without a deploy. Paths are safe by default: a path can read your data but cannot call mutating methods such as clear or destroy. Only accept paths from sources you trust.

Required Ruby Version

>= 2.6.0

Authors

Chris Bloom

Versions

  1. 0.4.0
    1. source

      1. 0.4.0 source November 19, 2026 (38.5 KB)
  2. 0.3.0
    1. source

      1. 0.3.0 source November 19, 2026 (36 KB)
  3. 0.2.1
    1. source

      1. 0.2.1 source November 19, 2026 (33.5 KB)
  4. 0.2.0
    1. source

      1. 0.2.0 source November 19, 2026 (32.5 KB)
  5. 0.1.2
    1. source

      1. 0.1.2 source April 07, 2021 (29 KB)
Show all versions (7 total)

Pushed by

SHA 256 checksum