class Sprockets::StaticAsset

def fresh?

digest to the inmemory model.
Checks if Asset is fresh by comparing the actual mtime and
def fresh?
  # Check current mtime and digest
  dependency_fresh?('path' => pathname, 'mtime' => mtime, 'hexdigest' => digest)
end