method

arg

v2_2_9 - Show latest stable - Class: Complex
arg()
public

Returns the angle part of its polar form.

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