Module: RuboCop::Cop::SurroundingSpace
- Included in:
- Layout::SpaceAroundEqualsInParameterDefault, Layout::SpaceInsideArrayLiteralBrackets, Layout::SpaceInsideBlockBraces, Layout::SpaceInsideHashLiteralBraces, Layout::SpaceInsideParens, Layout::SpaceInsideReferenceBrackets, SpaceCorrector, RuboCop::Cop::Style::TernaryParentheses, RuboCop::Cop::Style::TrailingUnderscoreVariable
- Defined in:
- lib/rubocop/cop/mixin/surrounding_space.rb
Overview
Common functionality for checking and correcting surrounding whitespace.
Constant Summary collapse
- NO_SPACE_COMMAND =
'Do not use'.freeze
- SPACE_COMMAND =
'Use'.freeze