class RuboCop::Cop::Style::RedundantInterpolation

def single_variable_interpolation?(node)

def single_variable_interpolation?(node)
  return false unless node.children.one?
  first_child = node.children.first
  variable_interpolation?(first_child) ||
    first_child.send_type? && !first_child.operator_method?
end