class RuboCop::Cop::Style::SpaceAfterSemicolon

Checks for semicolon (;) not followed by some kind of space.

Public Instance Methods

kind(token) click to toggle source
# File lib/rubocop/cop/style/space_after_semicolon.rb, line 10
def kind(token)
  'semicolon' if token.type == :tSEMI
end