Class: Rubocop::Cop::SpaceInsideParens
- Includes:
- SpaceInside
- Defined in:
- lib/rubocop/cop/surrounding_space.rb
Instance Attribute Summary
Attributes inherited from Cop
#correlations, #debug, #disabled_lines, #offences
Instance Method Summary collapse
Methods included from SpaceInside
Methods included from SurroundingSpace
Methods inherited from Cop
#add_offence, cop_name, #has_report?, inherited, #initialize, #name
Constructor Details
This class inherits a constructor from Rubocop::Cop::Cop
Instance Method Details
#get_paren ⇒ Object
117 118 119 |
# File 'lib/rubocop/cop/surrounding_space.rb', line 117 def get_paren Paren.new(:on_lparen, :on_rparen, 'parentheses') end |