class RuboCop::Cop::Layout::SpaceBeforeComment

Checks for missing space between a token and a comment on the same line.

@example

# bad
1 + 1# this operation does ...

# good
1 + 1 # this operation does ...