lib/sudoku_solver/point.rb in sudoku-jedi-1.0.0 vs lib/sudoku_solver/point.rb in sudoku-jedi-1.0.1

- old
+ new

@@ -1,6 +1,5 @@ -require_relative 'container' require 'set' class Point attr_accessor :box, :position, :nums, :value @@ -14,11 +13,10 @@ def nums @nums.sort end - def share(point) a = [] a << :box if @box == point.box a << :x if x == point.x a << :y if y == point.y @@ -60,12 +58,7 @@ def y @position.y end - def blank_spaces - [(position.y / 3) * 3 + (position.x / 3), position.y, position.x] - end - - end