class Rubocop::Cop::Style::SpaceAfterComma

Checks for comma (,) 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 33
def kind(token)
  'comma' if token.type == :tCOMMA
end