-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Replacing Enumerable::Enumerator with Enumerator #1739
Conversation
fixes the error `undefined method each for Enumerable::Enumerator`
Is it possible for you to add a (previously) failing test to the spec suite that reflects the error? It otherwise looks good, and happy to help if you're not sure about the best way to do this. |
Sure, I'll look into it later today. |
@awood45 done :) |
Just want to update, I've found the cause for the problematic (empty) definition of |
Thanks! Could you also add a changelog entry here, such that your changes can be included in the next release of |
@cjyclaire sure, under what version number? |
Under "unreleased changes" section is fine, just follow the format to add an entry. Our build tools will auto bump the version in the next release : ) |
@cjyclaire done, I hope it's ok now |
Thanks for the contribution! Merged |
Fixes the error
undefined method each for Enumerable::Enumerator
This occurs where there's another
Enumerable
module defined in the environment, and it has anEnumerator
class defined withouteach
andnext
methods.Issue: #1738