Sha256: bc21eba6bb68ccc98287d40e25ada84b02eb43ea4aa87bf657c8b097d96f7d99

Contents?: true

Size: 293 Bytes

Versions: 10

Compression:

Stored size: 293 Bytes

Contents

# encoding: utf-8

module Rubocop
  module Cop
    module Style
      # Checks for spaces inside square brackets.
      class SpaceInsideBrackets < Cop
        include SpaceInside

        def specifics
          [:tLBRACK, :tRBRACK, 'square brackets']
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rubocop-0.22.0 lib/rubocop/cop/style/space_inside_brackets.rb
rubocop-0.21.0 lib/rubocop/cop/style/space_inside_brackets.rb
rubocop-0.20.1 lib/rubocop/cop/style/space_inside_brackets.rb
rubocop-0.20.0 lib/rubocop/cop/style/space_inside_brackets.rb
rubocop-0.19.1 lib/rubocop/cop/style/space_inside_brackets.rb
rubocop-0.19.0 lib/rubocop/cop/style/space_inside_brackets.rb
rubocop-0.18.1 lib/rubocop/cop/style/space_inside_brackets.rb
rubocop-0.18.0 lib/rubocop/cop/style/space_inside_brackets.rb
rubocop-0.17.0 lib/rubocop/cop/style/space_inside_brackets.rb
rubocop-0.16.0 lib/rubocop/cop/style/space_inside_brackets.rb