Commits

Anonymous committed bb413ab

Refactoring: convert to attr_reader.

Comments (0)

Files changed (1)

solver/ruby/kakuro-board.rb

 
         public
 
+        attr_reader :possible_cell_values
+
         def remaining_dir_constraints(dir)
             return @remaining_constraints[dir]         
         end
 
-        def possible_cell_values
-            return @possible_cell_values
-        end
-
         def has_single_verdict
             return Verdicts.new.total_lookup(@possible_cell_values)
         end