Boolean values
Boolean values
You are encouraged to solve this task according to the task description, using any language you may know.
You are encouraged to solve this task according to the task description, using any language you may know.
What values are true and false?
Ruby
The only values in Ruby that are false are: false
and nil
. They have synonyms FALSE
and NIL
Everything else (including the constants true
and TRUE
) is true.