Q31
How do you check the truthiness of a value in Ruby?
A.
if (value) then code end
B.
if value do code end
C.
if value != false
AnswerD.
if value.is_truthy?
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board