class RuboCop::Cop::Style::FormatStringToken

def message_text(style)

rubocop:disable Style/FormatStringToken
def message_text(style)
  {
    annotated: 'annotated tokens (like `%<foo>s`)',
    template: 'template tokens (like `%{foo}`)',
    unannotated: 'unannotated tokens (like `%s`)'
  }[style]
end