最速Rubyリファレンスマニュアル検索!
すべて(11)
2.1.0(1)
2.2.0(1)
2.3.0(1)
2.4.0(1)
2.5.0(1)
2.6.0(1)
2.7.0(1)
3.0(1)
3.1(1)
3.2(1)
3.3(1)
11件ヒット
[1-11件を表示]
(0.014秒)
トップページ
>
クラス:
Time
>
:to_r
別のキーワード
_builtin to_s
openssl to_der
openssl to_s
_builtin to_a
openssl to_pem
ライブラリ
ビルトイン
(11)
検索結果
先頭1件
Time
#
to
_
r -> Rational
Time
#
to
_
r -> Rational
(18108.0)
2.1.0
2.2.0
2.3.0
2.4.0
2.5.0
2.6.0
2.7.0
3.0
3.1
3.2
3.3
インスタンスメソッド
起算時からの経過秒数を有理数で返します。1 秒に満たない経過も 表現されます。
...
起算時からの経過秒数を有理数で返します。1 秒に満たない経過も
表現されます。
//emlist[][ruby]{
t =
Time
.local(2000,1,2,3,4,5,6)
p t # => 2000-01-02 03:04:05 +0900
p t.
to_r
# => (473374922500003/500000)
//}
...