How Ruby automatically treat values other than true or false? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How Ruby automatically treat values other than true or false?

20th Apr 2017, 4:31 AM
Ruby
1 Answer
+ 3
Every objects and every expressions must either evaluate to true or false. Both true and false are Ruby objects.
20th Apr 2017, 4:37 AM
Ruby