最速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.210秒)
トップページ
>
クラス:
Complex
>
:
_builtin
>
:
-
>
:to_c
別のキーワード
_builtin new
_builtin inspect
_builtin []
_builtin to_s
_builtin each
ライブラリ
ビルトイン
(11)
検索結果
先頭1件
Complex
#
to
_
c -> self
Complex
#
to
_
c -> self
(26214.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
インスタンスメソッド
self を返します。
...
self を返します。
//emlist[例][ruby]{
Complex
(2).
to_c
# => (2+0i)
Complex
(
-
8, 6).
to_c
# => (
-
8+6i)
//}
...