class RuboCop::Cop::Style::RedundantPercentQ

def on_str(node)

def on_str(node)
  # Interpolated strings that contain more than just interpolation
  # will call `on_dstr` for the entire string and `on_str` for the
  # non interpolated portion of the string
  return unless string_literal?(node)
  check(node)
end