module Sprockets::PathUtils

def relative_path?(path)

Returns true if path is relative, otherwise false.

path - String path.

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