Boolean Logic Quiz
Which of the following are objects in ruby?
Comparators like equal (==), less-than (<), and="" greater-than="" (="">) are ruby methods.
Which of the following objects are truthy?
puts true == "true" # .. A
puts "A" < "B" # ....... B
puts 15 <= 15.0 # ...... C
puts 15 <= "15" # ...... D
puts nil == false # .... E
puts !!nil # ........... F
puts !!0 # ............. G
Which of the above expressions will print true?