Skip to content
Open

Done #196

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion lib/display_board.rb
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
# Define a method display_board that prints a 3x3 Tic Tac Toe Board
exit!def display_board
puts " | | "
puts "-----------"
puts " | | "
puts "-----------"
puts " | | "
end
4 changes: 3 additions & 1 deletion spec/display_board_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require_relative '../lib/display_board'
learn submitrequire_relative '../lib/display_board'

describe '/lib/display_board.rb' do
it 'defines a method display_board' do
Expand Down Expand Up @@ -43,3 +43,5 @@
end
end
end