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: 66,484 of 180,385
Downloads: 12,912

Daily

Ranking: 51,506 of 180,370
Downloads: 3

Depended by

RankDownloadsName

Depends on

RankDownloadsName

Owners

#GravatarHandle
1icontim_pease