auto_autoloader

Install

gem "auto_autoloader"

Usage

File: “lib/my_class.rb”

class MyClass
  AutoAutoloader.autoload_sub_classes(self, __FILE__)
end

It will now try to autoload “MyClass:SubClass” in the following path: “lib/my_class/sub_class.rb”.

Contributing to auto_autoloader

Copyright © 2016 kaspernj. See LICENSE.txt for further details.