module MazeCrosser::PresentationHelper

Module containing utilities for presentation.

Public Instance Methods

present_solution(solution) click to toggle source
# File lib/maze_crosser/helpers/presentation_helper.rb, line 4
def present_solution(solution)
  return 'The maze has no solution.' if solution.empty?
  "Solution: #{solution}"
end