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

Fix warnings about redefining methods #144

Closed
wants to merge 1 commit into from
Closed

Fix warnings about redefining methods #144

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Oct 13, 2020

Adds undef_method before each method redefinition which causes the warnings.

Fixes the warnings like:

gems/bibtex-ruby-5.1.4/lib/bibtex/value.rb:119: warning: method redefined; discarding old <<

which come up when using the library.

Adds undef_method before each method redefinition
which causes the warnings.
inukshuk added a commit that referenced this pull request Oct 14, 2020
inukshuk added a commit that referenced this pull request Oct 14, 2020
@inukshuk
Copy link
Owner

Thanks for bringing this up! Those warnings were legitimate warnings and they should be gone in 5.1.5 -- please re-open in case you still see them.

@inukshuk inukshuk closed this Oct 14, 2020
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.

None yet

1 participant