Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add example for Dir.glob #15171

Merged
merged 2 commits into from
Nov 8, 2024

Conversation

BigBoyBarney
Copy link
Contributor

I was recently trying to use Dir.glob but it wasn't very intuitive without examples. Thankfully, @Blacksmoke16 helped me out.

Currently, the Enumerable versions of Dir.glob copy the description of the ones that take a String or Path, which is wrong. Unfortunately, I have no clue how the Enumerable version works 🤣

@straight-shoota straight-shoota changed the title Added glob example Add example for Dir.glob Nov 6, 2024
@straight-shoota straight-shoota added this to the 1.15.0 milestone Nov 7, 2024
@straight-shoota straight-shoota merged commit 675c68c into crystal-lang:master Nov 8, 2024
69 checks passed
CTC97 pushed a commit to CTC97/crystal that referenced this pull request Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants