Mega Code Archive

 
Categories / Ruby / Development
 

To find out what constants Math (or any other module or class) has defined, use reflection by invoking the constants method.tx

puts Math.constants