Method: Conwaymp::Game#initialize
- Defined in:
- lib/conwaymp/game.rb
#initialize ⇒ Game
7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/conwaymp/game.rb', line 7 def initialize @errors = [] = Options.new().validate if .success? @board = Board.new() else display_errors(.errors) end end |