class Sass::Rails::Importer
def find(name, options)
def find(name, options) if name =~ GLOB nil # globs must be relative elsif pathname = resolve(name) context.depend_on(pathname) if sass_file?(pathname) Sass::Engine.new(pathname.read, options.merge(:filename => pathname.to_s, :importer => self, :syntax => syntax(pathname))) else Sass::Engine.new(@resolver.process(pathname), options.merge(:filename => pathname.to_s, :importer => self, :syntax => :scss)) end else nil end end