concept extension in category ruby

appears as: extensions, n extension, extension, extension, extensions
The Well-Grounded Rubyist, Third Edition

This is an excerpt from Manning's book The Well-Grounded Rubyist, Third Edition.

Although load is useful, particularly when you want to load a file more than once, require is the day-to-day technique you’ll use to load Ruby extensions and libraries—standard and otherwise. Loading standard library features isn’t any harder than loading loadee. You just require what you want. After you do, and depending on what the extension is, you’ll have new classes and methods available to you. Here’s a before-and-after example in an irb session:

Feature, extension, or library?

Things you load into your program at runtime get called by several different names. Feature is the most abstract and is rarely heard outside of the specialized usage “requiring a feature” (that is, with require). Library is more concrete and more common. It connotes the actual code as well as the basic fact that a set of programming facilities exists and can be loaded. Extension can refer to any loadable add-on library, but it’s often used to mean a library for Ruby that’s been written in the C programming language, rather than in Ruby. If you tell people you’ve written a Ruby extension, they’ll probably assume you mean that it’s in C.