Skip to content

Commit 85deceb

Browse files
committed
Tweak a broken indentation for the rubydoc.info docs
Follow up to rubocop/rubocop#10238.
1 parent 497a2aa commit 85deceb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/modules/ROOT/pages/cops_rails.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -863,8 +863,8 @@ end
863863
This cop checks legacy syntax usage of `tag`
864864

865865
NOTE: Allow `tag` when the first argument is a variable because
866-
`tag(name)` is simpler rather than `tag.public_send(name)`.
867-
And this cop will be renamed to something like `LegacyTag` in the future. (e.g. RuboCop Rails 2.0)
866+
`tag(name)` is simpler rather than `tag.public_send(name)`.
867+
And this cop will be renamed to something like `LegacyTag` in the future. (e.g. RuboCop Rails 2.0)
868868

869869
=== Examples
870870

lib/rubocop/cop/rails/content_tag.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ module Rails
66
# This cop checks legacy syntax usage of `tag`
77
#
88
# NOTE: Allow `tag` when the first argument is a variable because
9-
# `tag(name)` is simpler rather than `tag.public_send(name)`.
10-
# And this cop will be renamed to something like `LegacyTag` in the future. (e.g. RuboCop Rails 2.0)
9+
# `tag(name)` is simpler rather than `tag.public_send(name)`.
10+
# And this cop will be renamed to something like `LegacyTag` in the future. (e.g. RuboCop Rails 2.0)
1111
#
1212
# @example
1313
# # bad

0 commit comments

Comments
 (0)