Class: Minesweeper::BombInjector

Inherits:
Object
  • Object
show all
Defined in:
lib/minesweeper/bomb_injector.rb

Instance Method Summary collapse

Instance Method Details

#inject(board, level) ⇒ Object



5
6
7
8
9
# File 'lib/minesweeper/bomb_injector.rb', line 5

def inject(board, level)
  @board = board
  @level = level
  add_bombs
end