Module: RuboCop::Cop::PercentLiteral
- Includes:
- RangeHelp
- Included in:
- Layout::SpaceInsideArrayPercentLiteral, Layout::SpaceInsidePercentLiteralDelimiters, Lint::NestedPercentLiteral, Lint::PercentStringArray, Lint::PercentSymbolArray, Style::PercentLiteralDelimiters, Style::PercentQLiterals, Style::SymbolArray, Style::UnneededCapitalW, Style::UnneededInterpolation, Style::WordArray
- Defined in:
- lib/rubocop/cop/mixin/percent_literal.rb
Overview
Common functionality for handling percent literals.
Constant Summary collapse
- PERCENT_LITERAL_TYPES =
%w[% %i %I %q %Q %r %s %w %W %x].freeze