Class: Cornucopia::Util::FileAssetCache
- Inherits:
-
Object
- Object
- Cornucopia::Util::FileAssetCache
- Includes:
- Singleton
- Defined in:
- lib/cornucopia/util/file_asset.rb
Instance Attribute Summary collapse
-
#asset_cache ⇒ Object
Returns the value of attribute asset_cache.
Instance Method Summary collapse
-
#initialize ⇒ FileAssetCache
constructor
A new instance of FileAssetCache.
Constructor Details
#initialize ⇒ FileAssetCache
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_cache ⇒ Object
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 |