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

Ruby syntax: replace and/not with &&/! #733

Merged
merged 2 commits into from
Jan 20, 2017

Conversation

olleolleolle
Copy link
Contributor

@olleolleolle olleolleolle commented Sep 12, 2016

This PR changes the tricky English Ruby operators to regular boolean logic operators.

Read more about the tricky English-and-or at Avdi Grimm's blog

Update: I can see now that there are many more instances of this, which could be changed, too

Update again: Um, now there seem to be no further instances of this. All changed.

@booleanbetrayal
Copy link
Collaborator

I like this syntax better as well. Mind resolving conflicts in a rebase @olleolleolle ?

@olleolleolle
Copy link
Contributor Author

@booleanbetrayal There!

@booleanbetrayal
Copy link
Collaborator

LGTM!

@booleanbetrayal booleanbetrayal merged commit 23c04a2 into lynndylanhurley:master Jan 20, 2017
@olleolleolle olleolleolle deleted the patch-2 branch January 20, 2017 17:22
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