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

Implement a way to mark a public API as deprecated #657

Open
jcouball opened this issue Mar 9, 2023 · 0 comments
Open

Implement a way to mark a public API as deprecated #657

jcouball opened this issue Mar 9, 2023 · 0 comments
Labels
v2.0.0 Targeted for the next major release.

Comments

@jcouball
Copy link
Member

jcouball commented Mar 9, 2023

Have the ability for the developer to indicate deprecated methods.

Calling deprecated methods (by default) should output a STDERR warning message saying that the deprecated method was called and what line of code called it.

The user of the gem should have the ability to suppress the warning messages or to raise an error when a deprecated method is called.

@jcouball jcouball added the v2.0.0 Targeted for the next major release. label Mar 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v2.0.0 Targeted for the next major release.
Projects
None yet
Development

No branches or pull requests

1 participant