Welcome to the Treehouse Community
Looking to learn something new?
sowmya sunkariCourses Plus Student 1,764 Points
The memory address of the instance todo_item is still printed to the screen even after defining the to_s method. Help?
This is the output after printing the todo_item.
treehouse:~/workspace$ ruby todo_list.rb
Jamaal Todd5,689 Points
Not sure if you have solved this yet. But your problem is that in your "to_s" method. Your calling the "puts" method, which is not needed. Because the "to_s" method will automatically print out the string when the "to_s" method is called.
So you can remove "puts" from both lines which you have used them for the "to_s" method.