How to get rid of the "Nil"


How do you get it to stop saying "nil" at the end of the page?


That's the implicit return that ruby does at the end of method. If nothing is being returned its nil by default.

If its really bothering you can at your own String at the end such as "Th-th-th-that's all folks!"

It comes in handy on some of the exercises when a modified data structure is the last thing evaluated and you don't have to explicitly puts it to the screen to view the changes.