Closed shyam12860 closed 7 years ago
@shyam12860 Hey! I like the idea for the default argument! Here's a couple changes I need you to make:
Instead of keyword arguments, use the Ruby 1.9 version of default arguments. Keyword arguments are better when there are lots of arguments (like in the Player
constructor), and object creation might only require a few custom arguments.
Fix the indentation in the tests that you added. Each successive block should be indented by exactly 1 tab = 2 spaces.
Thanks!
Hey! Good pointers there. I've committed and squashed the new commits into the old one. Should be fine now!
Great. Thanks for contributing!
Fixes #62