Code Editor
Learn
The Refactor Factory

Omit Needless Words

One of the most common suggestions when it comes to writing is to omit needless words, and it applies just as much to writing Ruby as writing stories.

There are two control structures to change here:

  1. The unless on line 6
  2. The if on line 10
Report a Bug
If you see a bug or any other issue with this page, please report it here.