Home
Ruby
ActiveRecord
Array
CGI
Class
Collections
Database
Date
Design Patterns
Development
File Directory
GUI
Hash
Language Basics
Method
Network
Number
Rails
Range
Reflection
Statement
String
Threads
Time
Tk
Unit Test
Windows Platform
XML
Math.constants « Development « Ruby
Ruby
Development
Math.constants
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