Yes, but also Ruby reads files using the built in File class, which is a sub-class of the IO class for managing external streams.