Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
As everything is an object in Ruby, all forms of data represented within Ruby are also objects, just of varying classes. Therefore, some Ruby developers will try to correct you if you refer to types rather than classes, although this is merely pedantry.
In this section, we'll take a quick look at some of the basic data classes in Ruby.