Class Sprockets::Sass::Importer
In: lib/sprockets/sass/importer.rb
Parent: ::Sass::Importers::Base

Methods

Constants

GLOB = /\*|\[.+\]/

Public Instance methods

@see Sass::Importers::Base#find

@see Sass::Importers::Base#find_relative

@see Sass::Importers::Base#key

@see Sass::Importers::Base#mtime

@see Sass::Importers::Base#to_s

Protected Instance methods

Create a Sass::Engine that will handle importing a glob of files.

Create a Sass::Engine from the given path.

Returns the string to be passed to the Sass engine. We use Sprockets to process the file, but we remove any Sass processors because we need to let the Sass::Engine handle that.

Returns the partialized version of the given path. Returns nil if the path is already to a partial.

Returns all of the possible paths (including partial variations) to attempt to resolve with the given path.

Finds an asset from the given path. This is where we make Sprockets behave like Sass, and import partial style paths.

Finds all of the assets using the given glob.

Returns the Sass syntax of the given path.

[Validate]