class Sprockets::Asset

def encode_with(coder)

Copy serialized attributes to the coder object
def encode_with(coder)
  coder['class']        = self.class.name.sub(/Sprockets::/, '')
  coder['logical_path'] = logical_path
  coder['pathname']     = relativize_root_path(pathname).to_s
  coder['content_type'] = content_type
  coder['mtime']        = mtime.to_i
  coder['length']       = length
  coder['digest']       = digest
end