engine abstract

This commit is contained in:
Scott Davis 2011-06-12 00:52:36 -04:00
parent 3d4a57c3c1
commit 7454e522a5

View File

@ -1 +1,24 @@
module Compass
module SassExtensions
module Sprites
class Engine
attr_accessor :width, :height, :images
def initialize(width, height, images)
@width, @height, @images = width, height, images
end
def construct_sprite
raise ::Compass::Error, "You must impliment construct_sprite"
end
def save(filename)
raise ::Compass::Error, "You must impliment save(filename)"
end
end
end
end
end
require 'compass/sass_extensions/sprites/engines/chunky_png_engine' require 'compass/sass_extensions/sprites/engines/chunky_png_engine'