How Ruby automatically treat values other than true or false? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

How Ruby automatically treat values other than true or false?

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