Course Content

Course Content


The unless statement is an unique statement available in Ruby. When the supplied condition is false, this statement is executed. It's the inverse of an if statement.

The word "if" is conditional, as you presumably already know. It's used to explain a potential situation and what might happen in such situation. "Unless" is conditional as well, but it's effectively "if" with an additional exclusion or negative qualifier. Unless is a phrase that implies "except if" or "if... not."

Share With Friend

Have a friend to whom you would want to share this course?

Download LearnVern App

App Preview Image
App QR Code Image
Code Scan or Download the app
Google Play Store
Apple App Store
598K+ Downloads
App Download Section Circle 1
4.57 Avg. Ratings
App Download Section Circle 2
15K+ Reviews
App Download Section Circle 3
  • Learn anywhere on the go
  • Get regular updates about your enrolled or new courses
  • Share content with your friends
  • Evaluate your progress through practice tests
  • No internet connection needed
  • Enroll for the webinar and join at the time of the webinar from anywhere