aboutsummaryrefslogtreecommitdiffstats
path: root/board.rb
diff options
context:
space:
mode:
authorTeddy Wing2015-04-11 16:28:24 -0400
committerTeddy Wing2015-04-11 16:32:17 -0400
commitd1e085097a85fe6bc0e42331e0841c1e9257fbc4 (patch)
treee207a95bcf95966c6f8ffb540db37340677fceb3 /board.rb
parent189e854ed544b81f12773dea9996f1da66118cf9 (diff)
downloadtic-tac-toe-d1e085097a85fe6bc0e42331e0841c1e9257fbc4.tar.bz2
Use specs, create Board
Use specs for testing, create a spec for the Board class. Simple functionality and test to print a grid of dots for the board.
Diffstat (limited to 'board.rb')
-rw-r--r--board.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/board.rb b/board.rb
new file mode 100644
index 0000000..19fa63b
--- /dev/null
+++ b/board.rb
@@ -0,0 +1,5 @@
+class Board
+ def render
+ puts "...\n" * 3
+ end
+end