Consistent hashing of the Sprite importer object
This commit is contained in:
parent
134160885c
commit
9cafbc642c
@ -49,5 +49,14 @@ module Compass
|
|||||||
def to_s
|
def to_s
|
||||||
""
|
""
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def hash
|
||||||
|
self.class.name.hash
|
||||||
|
end
|
||||||
|
|
||||||
|
def eql?(other)
|
||||||
|
other.class == self.class
|
||||||
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user