Ruby

Ivan Jankovic
Ivan Jankovic
10,418 Points

How does his code work?

contact.middle_name gets set to " " empty string in the add_contact method, but in the Contact class last_first method is checking if the @middle_name is nil not if it is empty string.