method

arg

ruby latest stable - Class: Numeric
arg()
public

Returns 0 if the value is positive, pi otherwise.