Having it in clover_error.rb file breaks autoloading and reloading. If you modified the clover_error.rb file while puma was running in development mode, you would get the following error: ``` Puma caught this error: superclass mismatch for class DependencyError (TypeError) /home/jeremy/code/ubicloud/clover_error.rb:14:in `<top (required)>' ``` This uses a separate file per class, and moves the files to the lib folder. This avoids cluttering the root folder, and makes the loader simpler.
242 B
242 B