diff --git a/lib/rubocop/cop/performance/count.rb b/lib/rubocop/cop/performance/count.rb index 0eb13e52a..adc5930da 100644 --- a/lib/rubocop/cop/performance/count.rb +++ b/lib/rubocop/cop/performance/count.rb @@ -18,14 +18,14 @@ module Performance # # [source,ruby] # ---- - # `Model.where(id: [1, 2, 3]).select { |m| m.method == true }.size` + # Model.where(id: [1, 2, 3]).select { |m| m.method == true }.size # ---- # # becomes: # # [source,ruby] # ---- - # `Model.where(id: [1, 2, 3]).to_a.count { |m| m.method == true }` + # Model.where(id: [1, 2, 3]).to_a.count { |m| m.method == true } # ---- # # @example