method

phase

v2_1_10 - Show latest stable - Class: Complex
phase()
public

Returns the angle part of its polar form.

Complex.polar(3, Math::PI/2).arg  #=> 1.5707963267948966