method

to_c

Importance_1
v2_5_5 - Show latest stable - 0 notes - Class: Complex
to_c() public

Returns self.

Complex(2).to_c      #=> (2+0i)
Complex(-8, 6).to_c  #=> (-8+6i)
Show source
Register or log in to add new notes.