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

#initialize ⇒ FileAssetCache

Returns a new instance of FileAssetCache.



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

def initialize
  @asset_cache = {}
end

Instance Attribute Details

#asset_cache ⇒ Object

Returns the value of attribute asset_cache.



8
9
10
# File 'lib/cornucopia/util/file_asset.rb', line 8

def asset_cache
  @asset_cache
end