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']

Attributes

options  [RW] 
uri  [RW] 

Public Class methods

Public Instance methods

Generates the Sass for this sprite file

Returns the Glob of image files for this sprite

Generates the override defaults for this Sprite $#{name}-#{sprite_name}-position $#{name}-#{sprite_name}-spacing #{name}-#{sprite_name}-repeat:

Name of this spite

The on-disk location of this sprite

Returns a Sass::Engine for this sprite object

Returns the sass options for this sprite

Returns an Array of image names without the file extension

[Validate]