class RuboCop::Cop::InternalAffairs::RedundantMessageArgument

Checks for redundant message arguments to ‘#add_offense`. This method will automatically use `#message` or `MSG` (in that order of priority) if they are defined.

@example

# bad
add_offense(node, message: MSG)

# good
add_offense(node)