Module: RuboCop::Cop::Alignment
- Included in:
- AlignmentCorrector, Layout::AccessModifierIndentation, Layout::ArgumentAlignment, Layout::ArrayAlignment, Layout::AssignmentIndentation, Layout::BlockEndNewline, Layout::CaseIndentation, Layout::ClosingParenthesisIndentation, Layout::CommentIndentation, Layout::ElseAlignment, Layout::FirstArgumentIndentation, Layout::FirstArrayElementIndentation, Layout::FirstHashElementIndentation, Layout::FirstParameterIndentation, Layout::IndentationConsistency, Layout::IndentationWidth, Layout::MultilineMethodCallIndentation, Layout::MultilineOperationIndentation, Layout::ParameterAlignment, 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.