From 92ccf1364ff152392ddac47773ff7cb55b8f5be5 Mon Sep 17 00:00:00 2001 From: Christos Papageorgiou Date: Mon, 14 Mar 2022 19:11:27 +0200 Subject: [PATCH] rubocop: Naming/PredicateName: Fix AllowedMethods default is_a? --- rubocop.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rubocop.yml b/rubocop.yml index 3c34711..128c39c 100644 --- a/rubocop.yml +++ b/rubocop.yml @@ -439,7 +439,7 @@ Style/PerlBackrefs: Naming/PredicateName: Enabled: True - AllowedMethods: ['is_a', 'is_to_s'] + AllowedMethods: ['is_a?', 'is_to_s'] Style/RedundantException: Enabled: True