RubyGems Navigation menu

expiration-date 1.1.0

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.

Gemfile:
= クリップボードにコピー コピー完了!

インストール:
=

バージョン履歴:

  1. 1.1.0 - August 25, 2008* (15KB)
  2. 1.0.1 - August 23, 2008* (15KB)
  3. 1.0.0 - August 22, 2008* (15KB)

所有者:

作者:

  • Tim Pease

SHA 256チェックサム:

= クリップボードにコピー コピー完了!

累計ダウンロード数 13,119

このバージョンのみ 5,190

ライセンス:

N/A

必要なRubyのバージョン: なし

リンク: