Skip to content

Commit 087843a

Browse files
authored
[DOC] Fix markup of Performance/Count
1 parent 9aef9ac commit 087843a

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)