Created
April 25, 2017 15:05
-
-
Save JackHowa/92ee6fff0b8e773c42968d0f15a8bc22 to your computer and use it in GitHub Desktop.
ruby racer notes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
change instance vars of positions to self.position | |
because that's the position for the current player | |
delete player instance variable then just pass players into the starting_position (formerly overwriting with position method) | |
make attr reader for position | |
use insert and to_s to the value | |
have a hash value be knowing the position and player name | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment