public
Last active

Require files in a Dir

  • Download Gist
spec_helper.rb
Ruby
1
Dir.glob("lib/**/*.rb").each { |file| require "./#{file}" }

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.