Skip to content

Commit ad9fd62

Browse files
authored
Merge pull request #481 from kyanagi/patch-1
[DOC] Fix markup of `Performance/Count`
2 parents 9aef9ac + 087843a commit ad9fd62

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/rubocop/cop/performance/count.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ module Performance
1818
#
1919
# [source,ruby]
2020
# ----
21-
# `Model.where(id: [1, 2, 3]).select { |m| m.method == true }.size`
21+
# Model.where(id: [1, 2, 3]).select { |m| m.method == true }.size
2222
# ----
2323
#
2424
# becomes:
2525
#
2626
# [source,ruby]
2727
# ----
28-
# `Model.where(id: [1, 2, 3]).to_a.count { |m| m.method == true }`
28+
# Model.where(id: [1, 2, 3]).to_a.count { |m| m.method == true }
2929
# ----
3030
#
3131
# @example

0 commit comments

Comments
 (0)