I have the code exactly the same as Jason but mine prints out differently
I have the code exactly the same as Jason but mine prints out all the contact details before printing out contat_list, while Jason's video prints out only contact_list. Why is that? His video output does not seem right to me. I think my output is correct.
This question is in regard to
Build an address book in Ruby / Address book class
As Ken Jones mentioned, you might be printing on another one of your files. In my case, My address.rb had a few put statements, which were affecting the outcome of this one.
Also! For future reference, use the Markdown Cheatsheet when including code! Makes it easier to read :)
Joshua Paulson37,085 Points
Watch all Jason's videos at half speed. He's an amazing teacher but tends to type very quickly. Just slow down the video and you'll get it.