method

angle

ruby latest stable - Class: Complex
angle()
public

Returns the angle part of its polar form.

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