Class: Rubocop::Cop::SpaceInsideBrackets
- Includes:
- SpaceInside
- Defined in:
- lib/rubocop/cop/surrounding_space.rb
Constant Summary
Constants included from SpaceInside
Rubocop::Cop::SpaceInside::MSG
Instance Attribute Summary
Attributes inherited from Cop
#debug, #disabled_lines, #offences
Instance Method Summary collapse
Methods included from SpaceInside
Methods included from SurroundingSpace
#build_token_table, #index_of_first_token, #index_of_last_token, #space_between?
Methods inherited from Cop
#add_offence, cop_name, #has_report?, #ignore_node, inherited, #initialize, #inspect, #name, #on_comment
Constructor Details
This class inherits a constructor from Rubocop::Cop::Cop
Instance Method Details
#specifics ⇒ Object
235 236 237 |
# File 'lib/rubocop/cop/surrounding_space.rb', line 235 def specifics [:tLBRACK, :tRBRACK, 'square brackets'] end |