Ruby 1.9.2 リファレンスマニュアル > ライブラリ一覧 > 組み込みライブラリ > Numericクラス > i
i -> Complex
Complex(0, num) を返す。
Returns the corresponding imaginary number. Not available for complex numbers.