In this chapter, we have looked at how the Time class works as a wrapper for the underlying C-based functions. We've seen its features and its limitations.
We've seen the motivation for the Date and DateTime classes and the functionality they provide. We've looked at how to convert between these three kinds of objects, and we've added a few useful methods of our own.
That ends our discussion of times and dates. Let's move on to look at arrays, hashes, and other enumerable data structures in Ruby.