lib/compass/sass_extensions/sprites/engines.rb in compass-sourcemaps-0.12.3.sourcemaps.a4836f1 vs lib/compass/sass_extensions/sprites/engines.rb in compass-sourcemaps-0.12.4.sourcemaps.a4836f1

- old
+ new

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