From 7e28f29fc2adf267e64744bcb041ae3a2f6b21b5 Mon Sep 17 00:00:00 2001 From: Jose Luis Duran Date: Thu, 2 Nov 2023 01:36:06 +0000 Subject: [PATCH] RuboCop: Style/RedundantReturn --- .../strategies/figures_converter/options/base/ordinal.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/numbers_and_words/strategies/figures_converter/options/base/ordinal.rb b/lib/numbers_and_words/strategies/figures_converter/options/base/ordinal.rb index a37c11f4..5bd4901c 100644 --- a/lib/numbers_and_words/strategies/figures_converter/options/base/ordinal.rb +++ b/lib/numbers_and_words/strategies/figures_converter/options/base/ordinal.rb @@ -12,7 +12,7 @@ def initialize(proxy, *_args) end def result - return :ordinal if active? + :ordinal if active? end private