Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Require files in a Dir
Dir.glob("lib/**/*.rb").each { |file| require "./#{file}" }

This comment has been minimized.

Show comment Hide comment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment