Class Compass::SpriteImporter
In: lib/compass/sprite_importer.rb
Parent: Sass::Importers::Base

Methods

Constants

VAILD_FILE_NAME = /\A#{Sass::SCSS::RX::IDENT}\Z/
SPRITE_IMPORTER_REGEX = %r{((.+/)?([^\*.]+))/(.+?)\.png}
VALID_EXTENSIONS = ['.png']
TEMPLATE_FOLDER = File.join(File.expand_path('../', __FILE__), 'sprite_importer')
CONTENT_TEMPLATE_FILE = File.join(TEMPLATE_FOLDER, 'content.erb')
CONTENT_TEMPLATE = ERB.new(File.read(CONTENT_TEMPLATE_FILE))

Public Class methods

Returns the Glob of image files for the uri

The on-disk location of this sprite

Returns a Sass::Engine for this sprite object

Name of this spite

Returns an Array of image names without the file extension

Public Instance methods

[Validate]