Ruby - Control Flow
What is the main purpose of using
unless in Ruby?unless in Ruby?unless keywordunless runs the code block only when the condition is false.ifif runs code when condition is true, unless is the opposite.unless = run if false [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions