9 10 11
# File 'lib/kudo/cli.rb', line 9 def ping puts Kudo.ping end
14 15 16 17 18 19 20
# File 'lib/kudo/cli.rb', line 14 def solve(file_name) sudoku = File.read(file_name) puts Kudo.solve(sudoku) rescue StandardError => e puts e end