Class: Rubocop::Cop::SpaceInsideParens

Inherits:
Cop
  • Object
show all
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

#inspect

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

#specificsObject



227
228
229
# File 'lib/rubocop/cop/surrounding_space.rb', line 227

def specifics
  [:tLPAREN2, :tRPAREN, 'parentheses']
end