Having read a couple weeks ago that autoload is officially deprecated, Matz discourages use of it. What is to replace it? What should developers do instead? I used it in some command-line gems to save unnecessary loading of libs that may never be used, as well as in JRuby to prevent the same for .jar files.
Having read a couple weeks ago that autoload is officially deprecated , Matz discourages
Share
I’ve seen people use the EasyLoad gem, it claims to be a
autoloadalternative. It loads based on directory module naming convention.