diff options
Diffstat (limited to 'CLI/ruby/lib')
| -rw-r--r-- | CLI/ruby/lib/game_of_life/cell.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CLI/ruby/lib/game_of_life/cell.rb b/CLI/ruby/lib/game_of_life/cell.rb index 19a48e0..a02ff4a 100644 --- a/CLI/ruby/lib/game_of_life/cell.rb +++ b/CLI/ruby/lib/game_of_life/cell.rb @@ -15,9 +15,10 @@ module GameOfLife end # Representation of a cell + # Both LIVE_CELL, and DEAD_CELL constant are defined on the application start from the options # @return [String] if a cell is alive or an empty space def to_s - @alive ? "\u2588" : "\s" + @alive ? LIVE_CELL : DEAD_CELL end end end |
