Ruby - Control Flow
Which of the following is the correct syntax for using inline unless in Ruby?
unless false.puts "No" unless false is valid syntax. puts "No"unless (false) puts "No"unless (false) is invalid due to missing space after the string literal. Options B and D are incomplete or invalid.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions