Class: Cornucopia::Util::FileAssetCache

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/cornucopia/util/file_asset.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeFileAssetCache

Returns a new instance of FileAssetCache.



12
13
14
# File 'lib/cornucopia/util/file_asset.rb', line 12

def initialize
  @asset_cache = {}
end

Instance Attribute Details

#asset_cacheObject

Returns the value of attribute asset_cache.



10
11
12
# File 'lib/cornucopia/util/file_asset.rb', line 10

def asset_cache
  @asset_cache
end