Module: RuboCop::Cop::EndKeywordAlignment
- Includes:
- ConfigurableEnforcedStyle, RangeHelp
- Included in:
- Layout::DefEndAlignment, Layout::ElseAlignment, Layout::EndAlignment, Layout::IndentationWidth
- Defined in:
- lib/rubocop/cop/mixin/end_keyword_alignment.rb
Overview
Functions for checking the alignment of the ‘end` keyword.
Constant Summary collapse
- MSG =
'`end` at %<end_line>d, %<end_col>d is not aligned with ' \ '`%<source>s` at %<align_line>d, %<align_col>d.'
Method Summary
Methods included from ConfigurableEnforcedStyle
#alternative_style, #alternative_styles, #ambiguous_style_detected, #correct_style_detected, #detected_style, #detected_style=, #no_acceptable_style!, #no_acceptable_style?, #opposite_style_detected, #style, #style_detected, #supported_styles, #unexpected_style_detected