How Ruby automatically treat values other than true or false? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 1

How Ruby automatically treat values other than true or false?

20th Apr 2017, 4:31 AM
Ruby
1 Antwort
+ 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