engine abstract
This commit is contained in:
parent
3d4a57c3c1
commit
7454e522a5
@ -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'
|
Loading…
Reference in New Issue
Block a user