# File lib/ramaze/snippets/ramaze/lru_hash.rb, line 102 def clear objs.each{|key, obj| hook.call(key, obj) } if hook objs.clear list.clear self.total_size = 0 end