summaryrefslogtreecommitdiffstats
path: root/CLI/ruby/lib
diff options
context:
space:
mode:
authora14m <[email protected]>2020-11-29 23:52:02 +0100
committera14m <[email protected]>2020-11-29 23:52:02 +0100
commitc357c9c730440b297c1bc59d91181f62f9f3f9f7 (patch)
tree57c41937fa6dcebd1bead12441da9db907cef65c /CLI/ruby/lib
parent5146daed5b8921942e2d1b881b213b7ff18dcdde (diff)
Remove linting issue
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