From 51c167eeb75f429098b7128f9d9f33a6eec4145f Mon Sep 17 00:00:00 2001 From: Robert Speicher Date: Mon, 23 May 2016 13:10:42 -0400 Subject: Enable Performance/RangeInclude cop and fix single offense --- .rubocop.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to '.rubocop.yml') diff --git a/.rubocop.yml b/.rubocop.yml index 0946ef5d848..26929e03456 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -957,10 +957,9 @@ Performance/EndWith: Performance/LstripRstrip: Enabled: true -# TODO: Enable RangeInclude Cop. # Use `Range#cover?` instead of `Range#include?`. Performance/RangeInclude: - Enabled: false + Enabled: true # TODO: Enable RedundantBlockCall Cop. # Use `yield` instead of `block.call`. -- cgit v1.2.1