lib/mazes/cartesian/space.rb
# Internal: Allocate memory to store all the Cells.
Allocate memory to store all the Cells.
Allocate memory to store all the Cells .
def init_space
			Array.new x do |col|
				Array.new y do |row|
					Cell.new x: col, y: row
				end
			end
		end
def init_space Array . new x do | col | Array . new y do | row | Cell . new x : col , y : row end end end
Internal: Allocate memory to store all the Cells.
Internal : Allocate memory to store all the Cells .