class RuboCop::Cop::Style::SpaceAfterSemicolon
Checks for semicolon (;) not followed by some kind of space.
def kind(token)
def kind(token) 'semicolon' if token.type == :tSEMI end
def space_style_before_rcurly
def space_style_before_rcurly cfg = config.for_cop('Style/SpaceInsideBlockBraces') cfg['EnforcedStyle'] || 'space' end