Loading Ruby files automatically with Zeitwerk
ruby
dev.to
Introduction Hello everyone! As I was playing around with the Ruby programming language when building a Rails application I came across Zeitwerk, a library that loads all your ruby files automatically and I wanted to write about it. The main idea behind the library is that your projects needs to follow a certain file structure and then the lib will load all the ruby files, eliminating the necessity to write require_relative 'x'. This is nice because it keeps the code structured in a