class Sprockets::Asset

def initialize(environment, attributes = {})

Returns Asset.

attributes - Hash of ivars

Environment#find_asset should vend them.
Asset wrappers should not be initialized directly, only

Private: Intialize Asset wrapper from attributes Hash.
def initialize(environment, attributes = {})
  @environment  = environment
  @attributes   = attributes
  @content_type = attributes[:content_type]
  @filename     = attributes[:filename]
  @id           = attributes[:id]
  @integrity    = attributes[:integrity]
  @load_path    = attributes[:load_path]
  @logical_path = attributes[:logical_path]
  @metadata     = attributes[:metadata]
  @mtime        = attributes[:mtime]
  @name         = attributes[:name]
  @source       = attributes[:source]
  @uri          = attributes[:uri]
end