method

arg

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

Returns the angle part of its polar form.

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