lib/games/tictactoe/square.rb in games_bfox-0.3.0 vs lib/games/tictactoe/square.rb in games_bfox-0.4.0
- old
+ new
@@ -1,14 +1,11 @@
module TTT
class Square
attr_accessor :value, :display_value
- attr_reader :row, :col
def initialize(args)
@value = args[:value]
@display_value = args[:display_value]
- @row = args[:row]
- @col = args[:col]
end
def change_value(new_value)
self.value = new_value
self.display_value = new_value
\ No newline at end of file