|
"DTD/xhtml1-strict.dtd">
CacheManager
# File lib/amrita/template.rb, line 288 def initialize @hash = {} end
# File lib/amrita/template.rb, line 292 def get_item(typ, filename, key) return nil unless typ == :module @hash[filename.to_s + key.to_s] end
# File lib/amrita/template.rb, line 297 def save_item(item) @hash[item.filename.to_s + item.key.to_s] = item end |