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

Allow Option to be repeatable #674

Merged
merged 1 commit into from
Sep 12, 2019
Merged

Conversation

dturn
Copy link
Contributor

@dturn dturn commented Sep 4, 2019

This PR pickups where #468 (comment) left off. It adds a new option to Option: :repeatable. This allows a flag to be repeated and the results collected into an array. The one exceptions is for type Hash, where I merge the hashes into a a single hash. If we'd prefer an array of hashes, I'll be happy to change the behavior.

I'm happy to write up some docs, though not sure where to do that.

I've read the contributing guidelines 🌈.
cc: @rafaelfranca

@dturn
Copy link
Contributor Author

dturn commented Sep 12, 2019

👋 Its been a week, and I understand people are busy, but I'd appreciate an estimate on when someone will be able to review this pr.

@rafaelfranca rafaelfranca merged commit 69ffa4c into rails:master Sep 12, 2019
@rafaelfranca
Copy link
Member

Aha! This is great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants