Categories: None [Edit]

expiration-date

https://rubygems.org/gems/expiration-date
Really simple caching by attaching an expiration date to attributes. The ExpirationDate module adss two methods to a class -- expiring_attr and expiring_class_attr. These two methods are used to declare attributes in the instance and in the class, respectively, that will expire after some period of seconds have elapsed. The attribute is re-initialized from the given block after it has expired. This is a very simple form of caching.

Total

Ranking: 67,942 of 183,471
Downloads: 13,289

Daily

Ranking: 61,367 of 183,459
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName

Owners

#GravatarHandle
1icontim_pease