Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Ruby includes five built-in classes for representing numbers, and the standard library includes three more numeric classes that are sometimes useful. Figure 3-1 shows the class hierarchy.