Conditionals Return Values
This lesson discusses the conditional statements which return values and how to use them.
Another extremely useful aspect about if
and unless
statements in Ruby is
that they return values.
Yes, that’s right:
An if
...
Create a free account to access the full course.
By signing up, you agree to Educative's Terms of Service and Privacy Policy