Math.constants « Development « Ruby






1.To find out what constants Math (or any other module or class) has defined, use reflection by invoking the constants method
2.Euler and PI
3.Math.const_set and get