https://github.com/wizardone/wild_dig
Ruby dig method with a twist (wildcard)
https://github.com/wizardone/wild_dig
array dig hash ruby wildcard
Last synced: 9 months ago
JSON representation
Ruby dig method with a twist (wildcard)
- Host: GitHub
- URL: https://github.com/wizardone/wild_dig
- Owner: wizardone
- License: mit
- Created: 2018-08-28T01:39:37.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-16T06:16:37.000Z (almost 7 years ago)
- Last Synced: 2025-02-12T07:29:37.989Z (11 months ago)
- Topics: array, dig, hash, ruby, wildcard
- Language: Ruby
- Size: 15.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# wild_dig
Ruby dig method with a twist (wildcard)
`Wild.dig` allows you to dig into hashes using a wildcard (*) element
It behaves in the same way as a regular `dig` and in fact will call the original
`dig` method if you don't provide a wildcard