summaryrefslogtreecommitdiffstats
path: root/CLI/ruby/lib
diff options
context:
space:
mode:
Diffstat (limited to 'CLI/ruby/lib')
-rw-r--r--CLI/ruby/lib/game_of_life/cell.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/CLI/ruby/lib/game_of_life/cell.rb b/CLI/ruby/lib/game_of_life/cell.rb
index fe52263..5fc527e 100644
--- a/CLI/ruby/lib/game_of_life/cell.rb
+++ b/CLI/ruby/lib/game_of_life/cell.rb
@@ -13,7 +13,7 @@ module GameOfLife
# Representation of a cell
# @return [String] if a cell is alive or an empty space
def to_s
- return @alive ? "\u2588" : "\s"
+ @alive ? "\u2588" : "\s"
end
end
end