Create a gist now

Instantly share code, notes, and snippets.

Require files in a Dir
Dir.glob("lib/**/*.rb").each { |file| require "./#{file}" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment