Ruby 1.9.2 リファレンスマニュアル > ライブラリ一覧 > 組み込みライブラリ > Numericクラス > i

instance method Numeric#i

i -> Complex

Complex(0, num) を返す。

Returns the corresponding imaginary number. Not available for complex numbers.