class Sprockets::ProcessedAsset

def fresh?(environment)

digest to the inmemory model.
Checks if Asset is stale by comparing the actual mtime and
def fresh?(environment)
  # Check freshness of all declared dependencies
  @dependency_paths.all? { |dep| dependency_fresh?(environment, dep) }
end