るりまサーチ (Ruby 2.3.0)

最速Rubyリファレンスマニュアル検索!
4件ヒット [1-4件を表示] (0.096秒)
トップページ > バージョン:2.3.0[x] > 種類:インスタンスメソッド[x] > クエリ:expires[x] > クラス:Rinda::TupleEntry[x]

別のキーワード

  1. cookie expires
  2. cookie expires=
  3. cgi expires
  4. cgi expires=
  5. tuple expires

ライブラリ

キーワード

検索結果

Rinda::TupleEntry#expires -> Time (54310.0)

タプルの期限切れの時刻を返します。

...タプルの期限切れの時刻を返します。

有効期限を無限に指定した場合、この時刻は Time.at(2**31-1)、つまり
Tue Jan 19 03:14:07 GMT Standard Time 2038 を返します。

@see Rinda::TupleEntry#expire...

Rinda::TupleEntry#expires=(expires) (18649.0)

タプルの期限切れの時刻を指定します。

...タプルの期限切れの時刻を指定します。

@param expires 期限切れの時刻(Time)

@see Rinda::TupleEntry#expires...

Rinda::TupleEntry#expired? -> bool (25.0)

タプルが既に期限切れになっているならば真を返します。

...タプルが既に期限切れになっているならば真を返します。

@see Rinda::TupleEntry#expires, @see Rinda::TupleEntry#renew...

Rinda::TupleEntry#renew(sec_or_renewer) -> () (25.0)

タプルの有効期限を更新します。

...c_or_renewer によって以下のように更新されます。
* nil : 遠い未来(実質的に無限)を指定します。詳しくは Rinda::TupleEntry#expires 参照
* true : 直ちに有効期限切れになるよう指定します
* 数値 : 有効期限を現在から sec_or_renewer...