Ruby 1.8.7 Reference Manual > All Libraries > library complex > class Complex > inspect

instance method Complex#inspect

inspect -> String

自分自身について "Complex(実部, 虚部)" 形式の文字列を返します。