Answers for "ruby require a class for all files in directory"

0

require multiple files ruby

Dir[File.join(__dir__, "/app/**/*.rb")].each do |file|
  require file
end
Posted by: Guest on December-18-2020

Code answers related to "ruby require a class for all files in directory"

Browse Popular Code Answers by Language