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

Add Environment.Clear #260

Closed
gavv opened this issue Feb 1, 2023 · 2 comments · Fixed by #300
Closed

Add Environment.Clear #260

gavv opened this issue Feb 1, 2023 · 2 comments · Fixed by #300
Assignees
Labels
feature New feature or request good first issue Good for newcomers help wanted Contributions are welcome
Milestone

Comments

@gavv
Copy link
Owner

gavv commented Feb 1, 2023

Add new method Environment.Clear which removes all values.

New method should have documentation comment with code example and be covered by tests.

@gavv gavv added feature New feature or request help wanted Contributions are welcome good first issue Good for newcomers labels Feb 1, 2023
@e-berman
Copy link
Contributor

I'll give this one a go @gavv.

Sorry for the stupid question, but you want to keep the keys and only clear the values, correct?

@gavv
Copy link
Owner Author

gavv commented Feb 19, 2023

Cool, thank you. Nope, sorry for misunderstanding, I meant just to remove everything, keys and values. To allow the user to reset state.

@gavv gavv linked a pull request Feb 22, 2023 that will close this issue
@gavv gavv closed this as completed in #300 Feb 23, 2023
@gavv gavv added this to the v2 milestone Feb 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request good first issue Good for newcomers help wanted Contributions are welcome
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants