instance method Complex#to_c

to_c -> self[permalink][rdoc][edit]

self を返します。



Complex(2).to_c      # => (2+0i)
Complex(-8, 6).to_c  # => (-8+6i)