class ERBLint::Linters::ArgumentMappers::Helpers::ErbBlock

def convert_interpolation(attribute)

def convert_interpolation(attribute)
  if basic?(attribute)
    m = attribute.value.match(INTERPOLATION_REGEX)
    return m[:rb].strip
  end
  # we use `source` instead of `value` because it does not convert encoded HTML entities.
  attribute.value_node.loc.source.gsub("<%=", '#{').gsub("%>", "}")
end