# File lib/mega/cache.rb, line 37 def initialize(capacity) @capacity = capacity @n_items = 0 # number of items in cache end