# File lib/hashery/lru_hash.rb, line 240 def max_size=(limit) limit = normalize_max(limit) while size > limit delete_oldest end @max_size = limit end