lib/games/tictactoe/board.rb in games_bfox-0.4.0 vs lib/games/tictactoe/board.rb in games_bfox-0.6.0
- old
+ new
@@ -10,30 +10,30 @@
square_to_change = retrieve_square(display_value)
square_to_change.change_value(new_value)
end
def full?
- return squares.full?
+ squares.full?
end
def won?
- return squares.any_combination_won?
+ squares.any_combination_won?
end
def display_values
- return squares.display_values
+ squares.display_values
end
def available_choices
- return squares.available_choices
+ squares.available_choices
end
def number_of_rows_cols
squares.number_of_rows_cols
end
private
def retrieve_square(display_value)
- return squares.retrieve_square(display_value)
+ squares.retrieve_square(display_value)
end
end
end