Method: RuboCop::Cop::Layout::SpaceAfterSemicolon#autocorrect

Defined in:
lib/rubocop/cop/layout/space_after_semicolon.rb

#autocorrect(semicolon) ⇒ Object



17
18
19
# File 'lib/rubocop/cop/layout/space_after_semicolon.rb', line 17

def autocorrect(semicolon)
  PunctuationCorrector.add_space(semicolon)
end