class RuboCop::Cop::Style::InlineComment

Checks for trailing inline comments.

@example

# good
foo.each do |f|
  # Standalone comment
  f.bar
end

# bad
foo.each do |f|
  f.bar # Trailing inline comment
end