class RuboCop::Cop::Style::SpaceAfterComma

Checks for comma (,) not followed by some kind of space.

Public Instance Methods

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