From b32846ea5edb61842464f798b4b60b78cdab9583 Mon Sep 17 00:00:00 2001 From: Adrien Waksberg Date: Wed, 29 Mar 2017 22:12:11 +0200 Subject: [PATCH] replace while true by Kernel.loop --- lib/mpw/cli.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mpw/cli.rb b/lib/mpw/cli.rb index 8faab03..a334e61 100644 --- a/lib/mpw/cli.rb +++ b/lib/mpw/cli.rb @@ -253,7 +253,7 @@ class Cli exit end - while true + Kernel.loop do choice = ask(I18n.t('form.clipboard.choice')).to_s case choice