lib/gameboard/cell.rb in gameboard-0.0.1 vs lib/gameboard/cell.rb in gameboard-1.0.0

- old
+ new

@@ -1,11 +1,12 @@ require_relative './coordinate' module Gameboard class Cell attr_accessor :value - attr_reader :coordinates + attr_reader :coord def initialize(coord, value: false) raise TypeError unless coord.is_a?(Coordinate) @value = value + @coord = coord end end end \ No newline at end of file