るりまサーチ (Ruby 2.6.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.173秒)
トップページ > ライブラリ:ビルトイン[x] > バージョン:2.6.0[x] > クエリ:E[x] > クラス:Time[x] > クエリ:succ[x]

別のキーワード

  1. open3 popen2e
  2. socket af_e164
  3. matrix det_e
  4. matrix rank_e
  5. open3 capture2e

検索結果

Time#succ -> Time (63631.0)

self に 1 秒足した Time オブジェクトを生成して返します。

...self に 1 秒足した Time オブジェクトを生成して返します。

このメソッドは obsolete です。 self + 1 を代わりに使用してください。

//emlist[][ruby]{
t = Time.local(2000)
p t # => 2000-01-01 00:00:00 +0900
p t.succ # => 2000-01-01 00:00:01 +0900
//}...