aboutsummaryrefslogtreecommitdiffstats
path: root/board.rb
diff options
context:
space:
mode:
Diffstat (limited to 'board.rb')
-rw-r--r--board.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/board.rb b/board.rb
index fe81bba..5db93fd 100644
--- a/board.rb
+++ b/board.rb
@@ -8,7 +8,9 @@ class Board
end
def render
- "...\n" * 3
+ output = ''
+ @board.each {|row| output << row.join + "\n" }
+ output
end
# Raises an ArgumentError if integer conversion fails