# File lib/adapters/cachetastic_adapters_file.rb, line 34 def get(key) full_path = full_path_from_dir(get_key_directoy(key, false)) return nil unless File.exists?(full_path) so = YAML::load(File.open(full_path).read) if so if so.invalid? self.delete(key) return nil end if so.value.is_a?(YAML::Object) puts "require #{so.value.class.underscore}" require so.value.class.underscore so = YAML::load(File.open(full_path).read) end return so.value end return nil end