class Sprockets::Exporters::FileExporter

Writes a an asset file to disk

def call

def call
  write(target) do |file|
    file.write(asset.source)
  end
end

def skip?(logger)

def skip?(logger)
  if ::File.exist?(target)
    logger.debug "Skipping #{ target }, already exists"
    true
  else
    logger.info "Writing #{ target }"
    false
  end
end