class RuboCop::Cop::Layout::SpaceInsideBrackets

Checks for spaces inside square brackets.

Public Instance Methods

specifics() click to toggle source
# File lib/rubocop/cop/layout/space_inside_brackets.rb, line 9
def specifics
  [
    %i[tLBRACK tLBRACK2],
    :tRBRACK,
    'square brackets'
  ]
end