@LonnyEachus: This is wrong.
require simply runs the file. Period. In particular, this means that if you put the
require call inside a class declaration, the code in the file will
not become a part of that class, if you put the
require call inside a method definition, the code in the file will
not become a part of that method, if you put the
require call inside a module declaration, the code in the file will
not become part of that module, and so on and so forth. It doesn't even become part of the file the
require call is in. There's plenty of question here on
Stack Overflow that are …
requireandinclude, and also relevant,Module#append_features.