Commits

Anonymous committed 8f22c42

Refactored to remove an assignment.

Comments (0)

Files changed (1)

solver/ruby/lib/kakuro_solver/board.rb

             row = Array.new
 
             while line.sub!(/\A\s*\[([^\]]*)\]\s*/, "")
-                cell = Cell.new(self, $1)
-
-                row << cell
+                row << Cell.new(self, $1)
             end
 
             verify_line_end(line)