class Rubocop::Cop::Style::SpaceAfterSemicolon

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

Public Instance Methods

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