Skip to content

Instantly share code, notes, and snippets.

@roobert
Created July 24, 2015 16:00
Show Gist options
  • Save roobert/ade8265447c010bb1e13 to your computer and use it in GitHub Desktop.
Save roobert/ade8265447c010bb1e13 to your computer and use it in GitHub Desktop.
[2] pry(main)> Dir.glob('spec/assets/conf.d/{**,*}/*.json')
=> ["spec/assets/conf.d/nested/file.json",
"spec/assets/conf.d/merger.json",
"spec/assets/conf.d/nested/file.json",
"spec/assets/conf.d/alternative/symlinked.json"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment