class RuboCop::Cop::Lint::ImplicitStringConcatenation

def ending_delimiter(str)

def ending_delimiter(str)
  # implicit string concatenation does not work with %{}, etc.
  case str.source[0]
  when "'"
    "'"
  when '"'
    '"'
  end
end