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