# File lib/cgikit/template_store.rb, line 178 def restore( component ) template = nil if cache? and exist?(component) then FileLock.shared_lock(cache_file_name(component)) do |file| template = Marshal.load(file) end end template end