module Sprockets::PathUtils
def relative_path?(path)
path - String path.
Starts with "./" or "../".
Public: Check if path is explicitly relative.
def relative_path?(path) path =~ /^\.\.?($|#{SEPARATOR_PATTERN})/ ? true : false end
def relative_path?(path) path =~ /^\.\.?($|#{SEPARATOR_PATTERN})/ ? true : false end