このマニュアルは既にメンテナンスが終了したバージョンの Ruby を対象としています。 最新版のマニュアルへ
to_c -> Complex
0+0i を返します。
p nil.to_c # => (0+0i)