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 ruby warnings by using select instead of reject #7

Merged
merged 1 commit into from
Sep 9, 2016

Conversation

doits
Copy link
Contributor

@doits doits commented Sep 9, 2016

Not sure why reject gives warnings, select not ...

Fixes some warnings on Ruby version >= 2

Edit: See https://travis-ci.org/attilahorvath/i18n-globals/jobs/158737755 for an example of those warnings (it is a build for a different PR but the warning are because of this here).

Not sure why `reject` gives warnings, `select` not ...
@doits doits mentioned this pull request Sep 9, 2016
@attilahorvath
Copy link
Owner

Strange. Never seen that warning before and it's weird that it works with select when it's the same thing really.

Merging it anyway, seems to work fine.

@attilahorvath attilahorvath merged commit 5d10cbf into attilahorvath:master Sep 9, 2016
thabemmz added a commit to Mobiliteitsfabriek/i18n-globals that referenced this pull request Mar 16, 2023
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.

2 participants