Created
September 29, 2015 00:36
-
-
Save gbgdev/2d2c06968b503581008c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@matrix = Matrix[ | |
[2, 1, 1, 1, 1 ,8], | |
[1, 2, 1, 1, 1, 9], | |
[1, 1, 2, 1, 1, 2], | |
[1, 1, 1, 2, 1, 4], | |
[1, 1, 1, 1, 2, 5], | |
[1, 1, 1, 1, 2, 5] | |
] | |
for row in @matrix | |
puts row | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment