Skip to content

Remove implementation detail specs for Enumerator#1361

Open
Earlopain wants to merge 1 commit into
ruby:masterfrom
Earlopain:enumerator-internals
Open

Remove implementation detail specs for Enumerator#1361
Earlopain wants to merge 1 commit into
ruby:masterfrom
Earlopain:enumerator-internals

Conversation

@Earlopain
Copy link
Copy Markdown
Contributor

Enumerator::Yielder, Enumerator::Generator and Enumerator::Producer are not supposed to be exposed to the user.
Instead they will interact with them trough other means, like for example Enumerator.new { |yielder| }.

Some specs I ported, others I removed, and some were already present.

I also have this PR to nodoc them ruby/ruby#17036 (they are already basically just present by name only)

`Enumerator::Yielder`, `Enumerator::Generator` and `Enumerator::Producer` are not
supposed to be exposed to the user.
Instead they will interact with them trough other means,
like for example `Enumerator.new { |yielder| }`.

Some specs I ported, others I removed, and some were already present.
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.

1 participant