Ruby 1.9.2 リファレンスマニュアル > ライブラリ一覧 > 組み込みライブラリ > Complexクラス > ==
self == other
Test for numerical equality (a == a + 0i).