class RuboCop::Cop::Style::SpaceInsideBrackets

Checks for spaces inside square brackets.

Public Instance Methods

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