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

"Because 5 is between 11 and 20" fix #34

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/14-conditionals.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Let's walk through it one by one:
case Ruby will, again, first check the first condition `number.between?(1,
10)`, but this time this method call returns `false`. Therefore, Ruby will
ignore the `if` branch, and check the next condition on the `elsif` line:
`number.between?(11, 20)`. Now, this method call returns true, because `5` is
`number.between?(11, 20)`. Now, this method call returns true, because `15` is
between `11` and `20`. Ruby will therefore execute the `elsif` branch, and
print out this message. Again, once it is done executing the `elsif` branch
Ruby will ignore the rest of the statement.
Expand Down