class Sprockets::Asset

def eql?(other)

Returns true or false.

Assets are equal if they share the same path and digest.

Public: Compare assets.
def eql?(other)
  self.class == other.class && self.id == other.id
end