Skip to content

Commit

Permalink
[Docs] Update the doc for Layout/EndAlignment
Browse files Browse the repository at this point in the history
  • Loading branch information
koic committed Feb 1, 2024
1 parent 36a6b88 commit 3f24b82
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/rubocop/cop/layout/end_alignment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ module Layout
# This `Layout/EndAlignment` cop aligns with keywords (e.g. `if`, `while`, `case`)
# by default. On the other hand, `Layout/BeginEndAlignment` cop aligns with
# `EnforcedStyleAlignWith: start_of_line` by default due to `||= begin` tends
# to align with the start of the line. These style can be configured by each cop.
# to align with the start of the line. `Layout/DefEndAlignment` cop also aligns with
# `EnforcedStyleAlignWith: start_of_line` by default.
# These style can be configured by each cop.
#
# @example EnforcedStyleAlignWith: keyword (default)
# # bad
Expand Down

0 comments on commit 3f24b82

Please sign in to comment.