Ruby 1.8.7 Reference Manual > All Libraries > library complex > class Complex > real
real -> Fixnum
real -> Float
実部を返します。