move hashing and comparison methods into SpriteMap class

This commit is contained in:
Scott Davis 2011-05-12 23:44:21 -04:00
parent 2d797ba956
commit 6ba72b9533

View File

@ -34,6 +34,15 @@ module Compass
def to_s def to_s
content_for_images content_for_images
end end
def hash
self.class.name.hash
end
def eql?(other)
other.class == self.class
end
def key(uri, options={}) def key(uri, options={})