Ruby Build an Address Book in Ruby Input and Output Adding Contacts: Part 2

Daniel Grieve
Daniel Grieve
6,430 Points

Terminal doesn't register a non-nil value for middle name.

Using the ruby command prompt (not workspaces), when hitting enter after seeing the option to input a middle name, this does not register a nil value and so the output looks odd. I could change the 'last_first' method to accommodate this, but is there another way to get a nil value?