Skip to content

Conversation

@doliveirakn
Copy link

The documentation around what to do for wrapping an enumerator is incorrect.

It suggests using enumerator_builder.wrap(my_enumerator) however, that isn't the method signature. using this will result in

     ArgumentError:
       wrong number of arguments (given 1, expected 2)

This is because the wrap method actually requires 2 paramters. One is the enumerator, but the other is the enumerator builder itself.

I've updated the documentation and the deprecation warning to better reflect that is required.

@doliveirakn doliveirakn requested a review from a team as a code owner January 9, 2026 16:46
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.

1 participant