Loading several files

suggest change

You can use any Ruby technique to build a list of files to load. This globs for files whose names start with test and loads them in alphabetical order.

Dir[File.join(__dir__, "**", "test*.rb")].sort.each do |source|

    require_relative source

end

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents