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