class Wax::Assets

Defined in:

assets.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(path : String = "assets", cache_for cache_duration : Time::Span = (ENV.fetch("ASSET_CACHE_DURATION_SECONDS", "86400")).to_f.seconds) #

[View source]

Instance Method Detail

def []?(key : String) #

[View source]
def hash(key : String) #

[View source]
def name_map : Hash(String, Wax::Assets::CacheEntry) #

[View source]