Module: RuboCop::Cop::Alignment
- Included in:
- AlignmentCorrector, Layout::AccessModifierIndentation, Layout::AlignArguments, Layout::AlignArray, Layout::AlignParameters, Layout::BlockEndNewline, Layout::CaseIndentation, Layout::ClosingParenthesisIndentation, Layout::CommentIndentation, Layout::ElseAlignment, Layout::IndentAssignment, Layout::IndentFirstArgument, Layout::IndentFirstArrayElement, Layout::IndentFirstHashElement, Layout::IndentFirstParameter, Layout::IndentationConsistency, Layout::IndentationWidth, Layout::MultilineMethodCallIndentation, Layout::MultilineOperationIndentation, Layout::Tab, LineBreakCorrector, Style::MultilineIfModifier, Style::ParallelAssignment::GenericCorrector, Style::RedundantConditional, Style::RescueModifier, Style::SingleLineMethods, Style::TrailingBodyOnClass, Style::TrailingBodyOnMethodDefinition, Style::TrailingBodyOnModule, Style::TrailingMethodEndStatement
- Defined in:
- lib/rubocop/cop/mixin/alignment.rb
Overview
This module checks for nodes that should be aligned to the left or right. This amount is determined by the instance variable @column_delta.