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

Allows non-array values for accept: #74

Open
amomchilov opened this issue Mar 22, 2021 · 0 comments
Open

Allows non-array values for accept: #74

amomchilov opened this issue Mar 22, 2021 · 0 comments

Comments

@amomchilov
Copy link
Contributor

It looks like previously, any kind of Enumerable was allowed as an argument to accepts:, but it has since been constrained so that any non-Proc values are transformed into an Array:

66fba25

Is there a reason why Array is enforced, in particular?

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

No branches or pull requests

1 participant