wrong number of arguments (1 for 0) (ArgumentError)

Should fix the error that I created for wrong number of arguments (1 for 0) (ArgumentError)
Let me know if this is the wrong way to fix this. I'm new to Ruby.