class RuboCop::Cop::Rails::FilePath

def string_with_leading_slash?(node)

def string_with_leading_slash?(node)
  node.str_type? && node.value.start_with?(File::SEPARATOR)
end