module Sprockets
def absolute?(location)
def absolute?(location) same_when_expanded?(location) || platform_absolute_path?(location) end
def platform_absolute_path?(location)
def platform_absolute_path?(location) false end
def platform_absolute_path?(location)
def platform_absolute_path?(location) location[0, 1] == File::SEPARATOR && File.expand_path(location) =~ /[A-Za-z]:[\/\\]/ end
def running_on_windows?
def running_on_windows? RUBY_PLATFORM =~ /(win|w)32$/ end
def same_when_expanded?(location)
def same_when_expanded?(location) location[0, 1] == File.expand_path(location)[0, 1] end