Displaying the Dijkstra's Matrix

Learn the Ruby code to display Dijkstra's matrix on the console.

Adding the contents_of(cell) method to the Grid class

We'll open up grid.rb and add the new method, contents_of(cell) just before the to_s method.

Get hands-on with 1400+ tech skills courses.