-
Notifications
You must be signed in to change notification settings - Fork 47
week2
zmontesd edited this page Jan 30, 2013
·
4 revisions
$ game = Game.new $ game.board
$ game.board[0][0] = 'red'
$ puts game.pretty_print $ game.current $ game.current_player $ game.status # Responses => in progress => red # player 1 => blue # player 2
$ game.save!
$ ls
$ rspec spec # running all specifications $ rspec spec/filename # running specific file $ rspec spec/filename line # running specific line in file