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

Update README.md example consistent w/text #1087

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jasonhemann
Copy link

There's a double-triple negation going on in the related statement in the documentation

This example in supposed to use when to show how to prevent ensure from happening on mac systems. So the idea is to make that code block conditionally execute, and it should not execute if the system is a mac, (thereby side-stepping the ensure).

Is this all correct?

I'm not entirely sure that this is now a sensible example, and I would want to write this as an unless instead, but I think this is as a first step consistent.

There's a double-triple negation going on in the related statement in the documentation

This example in supposed to use `when` to show how to *prevent* `ensure` from happening on mac systems. So the idea is to make that code block conditionally execute, and it should _not_ execute if the system is a mac, (thereby side-stepping the `ensure`).

Is this all correct? 

I'm not entirely sure that this is now a *sensible* example, and I would want to write this as an `unless` instead, but I think this is as a first step consistent.
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.

1 participant